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_path.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_path.py') diff --git a/tests/test_path.py b/tests/test_path.py index e9fe94fe2..384460fb1 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -68,10 +68,10 @@ class TestCallerModule(unittest.TestCase): self.assertNotEqual(result, test_path) def test_it_no___name__(self): - class DummyFrame(object): + class DummyFrame: f_globals = {} - class DummySys(object): + class DummySys: def _getframe(self, level): return DummyFrame() @@ -627,7 +627,7 @@ class TestDottedNameResolver(unittest.TestCase): self.assertEqual(typ.package, None) -class DummyPkgResource(object): +class DummyPkgResource: pass -- cgit v1.2.3