aboutsummaryrefslogtreecommitdiff
path: root/tests/test_wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_wrapper.py')
-rw-r--r--tests/test_wrapper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py
index e154ff8..37af16b 100644
--- a/tests/test_wrapper.py
+++ b/tests/test_wrapper.py
@@ -4,7 +4,7 @@ import cachetools
import cachetools.keys
-class DecoratorTestMixin(object):
+class DecoratorTestMixin:
def cache(self, minsize):
raise NotImplementedError
@@ -76,7 +76,7 @@ class DecoratorTestMixin(object):
self.assertEqual(len(cache), 3)
def test_decorator_lock(self):
- class Lock(object):
+ class Lock:
count = 0
@@ -114,7 +114,7 @@ class CacheWrapperTest(unittest.TestCase, DecoratorTestMixin):
self.assertEqual(len(cache), 0)
def test_zero_size_cache_decorator_lock(self):
- class Lock(object):
+ class Lock:
count = 0