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)
def gw(self, a, e): r = Utils.most_common(a) self.assertEqual(r, e)