diff options
Diffstat (limited to 'tests/test_predicates.py')
| -rw-r--r-- | tests/test_predicates.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_predicates.py b/tests/test_predicates.py index 533667d75..1cc3f4aa5 100644 --- a/tests/test_predicates.py +++ b/tests/test_predicates.py @@ -537,7 +537,7 @@ class TestNotted(unittest.TestCase): self.assertEqual(inst(None, None), True) -class predicate(object): +class predicate: def __repr__(self): return 'predicate' @@ -545,11 +545,11 @@ class predicate(object): return 1 -class Dummy(object): +class Dummy: pass -class DummyPredicate(object): +class DummyPredicate: def __init__(self, result): self.result = result |
