From d7c6e79cc5c4ff343084cff00fac10c1eb218455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Mon, 22 Mar 2021 09:22:41 +0100 Subject: [PATCH] Stop inheriting from object explicitly --- tests/test_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_base.py b/tests/test_base.py index 0e9d667d..dc44a499 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -5,7 +5,7 @@ from awacs.aws import Action, PolicyDocument -class AWSHelperFn(object): +class AWSHelperFn: """Mock class to test classes with non-awacs AWSHelperFn parent.""" def to_json(self, indent=4, sort_keys=True): @@ -53,7 +53,7 @@ def test_invalid_property(self): class TestAWSProperty(unittest.TestCase): def test_prop_value_type_mismatch_expect_list(self): - class InvalidClass(object): + class InvalidClass: """Class of invalid type.""" tests_values = ["val", {"key": "val"}, {"val"}, tuple("val"), InvalidClass()]