diff options
| author | Sergey Maranchuk <slav0nic@python.su> | 2020-04-17 22:12:06 +0300 |
|---|---|---|
| committer | Sergey Maranchuk <slav0nic@python.su> | 2020-04-17 22:12:06 +0300 |
| commit | 6668e43d2d67db4574e08a9d54bd80eb105c1b28 (patch) | |
| tree | 10eda61b15ae53815af24af956267e2f632a46f7 /tests/test_urldispatch.py | |
| parent | 48cf45b0a1ac04e701101fa18778164825edd429 (diff) | |
| download | pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.gz pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.bz2 pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.zip | |
inheriting from `object` not necessary in py3
Diffstat (limited to 'tests/test_urldispatch.py')
| -rw-r--r-- | tests/test_urldispatch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_urldispatch.py b/tests/test_urldispatch.py index 5c48bea01..13cf31b32 100644 --- a/tests/test_urldispatch.py +++ b/tests/test_urldispatch.py @@ -660,17 +660,17 @@ class TestCompileRouteFunctional(unittest.TestCase): self.generates('/foo/:abc_def', {'abc_def': '20'}, '/foo/20') -class DummyContext(object): +class DummyContext: """ """ -class DummyRequest(object): +class DummyRequest: scheme = 'http' def __init__(self, **kw): self.__dict__.update(kw) -class DummyRoute(object): +class DummyRoute: def __init__(self, generator): self.generate = generator |
