From 6668e43d2d67db4574e08a9d54bd80eb105c1b28 Mon Sep 17 00:00:00 2001 From: Sergey Maranchuk Date: Fri, 17 Apr 2020 22:12:06 +0300 Subject: inheriting from `object` not necessary in py3 --- tests/test_paster.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_paster.py') diff --git a/tests/test_paster.py b/tests/test_paster.py index ef2571471..09e3bb868 100644 --- a/tests/test_paster.py +++ b/tests/test_paster.py @@ -131,7 +131,7 @@ class Test_bootstrap(unittest.TestCase): self.app = app = DummyApp() self.root = root = Dummy() - class DummyGetApp(object): + class DummyGetApp: def __call__(self, *a, **kw): self.a = a self.kw = kw @@ -139,7 +139,7 @@ class Test_bootstrap(unittest.TestCase): self.get_app = pyramid.paster.get_app = DummyGetApp() - class DummyPrepare(object): + class DummyPrepare: def __call__(self, *a, **kw): self.a = a self.kw = kw @@ -166,7 +166,7 @@ class Dummy: pass -class DummyRegistry(object): +class DummyRegistry: settings = {} -- cgit v1.2.3