diff options
| -rw-r--r-- | t/unit/utils/test_objects.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/unit/utils/test_objects.py b/t/unit/utils/test_objects.py index a1ad2000..330a7db5 100644 --- a/t/unit/utils/test_objects.py +++ b/t/unit/utils/test_objects.py @@ -17,10 +17,10 @@ class test_cached_property: self.xx = value x = X() - del(x.foo) + del x.foo assert not x.xx x.__dict__['foo'] = 'here' - del(x.foo) + del x.foo assert x.xx == 'here' def test_when_access_from_class(self): @@ -48,4 +48,4 @@ class test_cached_property: x.foo = 30 assert x.xx == 10 - del(x.foo) + del x.foo |
