Пример #1
0
 def test_bw_01(self):
     """Verify that an error is raised if the input is no list."""
     with self.assertRaises(AssertionError):
         a = 1
         Utils.most_common(a)
Пример #2
0
 def gw(self, a, e):
     r = Utils.most_common(a)
     self.assertEqual(r, e)