def test_the_test(self): """Empty tests what it says on the tin""" e = Empty() self.assertTrue(e.matches([])) self.assertFalse(e.matches(["not", "empty"]))
def test_the_test(self): """Empty tests what it says on the tin""" e = Empty() assert e.matches([]) assert not e.matches(["not", "empty"])