diff options
Diffstat (limited to 'tests/module/test_descriptors.py')
-rw-r--r-- | tests/module/test_descriptors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/module/test_descriptors.py b/tests/module/test_descriptors.py index e1393f1..1720e31 100644 --- a/tests/module/test_descriptors.py +++ b/tests/module/test_descriptors.py @@ -1,7 +1,7 @@ from snakeoil import descriptors -class ClassProp(object): +class ClassProp: @descriptors.classproperty def test(cls): @@ -9,7 +9,7 @@ class ClassProp(object): return 'good', cls -class TestDescriptor(object): +class TestDescriptor: def test_classproperty(self): assert ('good', ClassProp) == ClassProp.test |