summaryrefslogtreecommitdiff
path: root/oslo_config/tests
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_config/tests')
-rw-r--r--oslo_config/tests/test_cfg.py2
-rw-r--r--oslo_config/tests/test_generator.py2
-rw-r--r--oslo_config/tests/test_types.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/oslo_config/tests/test_cfg.py b/oslo_config/tests/test_cfg.py
index ac45780..505cb00 100644
--- a/oslo_config/tests/test_cfg.py
+++ b/oslo_config/tests/test_cfg.py
@@ -3958,7 +3958,7 @@ class FindFileTestCase(BaseTestCase):
class OptDumpingTestCase(BaseTestCase):
- class FakeLogger(object):
+ class FakeLogger:
def __init__(self, test_case, expected_lvl):
self.test_case = test_case
diff --git a/oslo_config/tests/test_generator.py b/oslo_config/tests/test_generator.py
index 9a27aac..d75b4d8 100644
--- a/oslo_config/tests/test_generator.py
+++ b/oslo_config/tests/test_generator.py
@@ -1638,7 +1638,7 @@ class GeneratorRaiseErrorTestCase(base.BaseTestCase):
class FakeException(Exception):
pass
- class FakeEP(object):
+ class FakeEP:
def __init__(self):
self.name = 'callback_is_expected'
diff --git a/oslo_config/tests/test_types.py b/oslo_config/tests/test_types.py
index 8ab4a09..dd56b98 100644
--- a/oslo_config/tests/test_types.py
+++ b/oslo_config/tests/test_types.py
@@ -37,7 +37,7 @@ class ConfigTypeTests(unittest.TestCase):
MyString()
-class TypeTestHelper(object):
+class TypeTestHelper:
def setUp(self):
super(TypeTestHelper, self).setUp()
self.type_instance = self.type