diff options
author | Omer Katz <omer.drow@gmail.com> | 2020-07-13 16:58:06 +0300 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2020-07-13 16:58:06 +0300 |
commit | 7a6e7cc45b9afe799770313a66c4211d1986ff30 (patch) | |
tree | 189c7fa2e7ca9835e14975093c12b7e5d3d8213b /t/unit/utils/test_objects.py | |
parent | 016f4accb634ebc3eb8fc66741f23552e5966ea7 (diff) | |
download | kombu-7a6e7cc45b9afe799770313a66c4211d1986ff30.tar.gz |
pyupgrade
Diffstat (limited to 't/unit/utils/test_objects.py')
-rw-r--r-- | t/unit/utils/test_objects.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/t/unit/utils/test_objects.py b/t/unit/utils/test_objects.py index 8b13a405..a1ad2000 100644 --- a/t/unit/utils/test_objects.py +++ b/t/unit/utils/test_objects.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, unicode_literals - from kombu.utils.objects import cached_property @@ -7,7 +5,7 @@ class test_cached_property: def test_deleting(self): - class X(object): + class X: xx = False @cached_property @@ -27,7 +25,7 @@ class test_cached_property: def test_when_access_from_class(self): - class X(object): + class X: xx = None @cached_property |