From 58ccbf833e33b32ce8dc26cd1a31f6bbff9035ba Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Wed, 17 Mar 2021 16:22:07 +0200 Subject: Cleanup. --- t/unit/utils/test_objects.py | 6 +++--- 1 file 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 -- cgit v1.2.1