diff options
Diffstat (limited to 'tests/test_path.py')
| -rw-r--r-- | tests/test_path.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
