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/pkgs/eventonly | |
| 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/pkgs/eventonly')
| -rw-r--r-- | tests/pkgs/eventonly/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pkgs/eventonly/__init__.py b/tests/pkgs/eventonly/__init__.py index 35d83838f..d0d4dafb9 100644 --- a/tests/pkgs/eventonly/__init__.py +++ b/tests/pkgs/eventonly/__init__.py @@ -2,7 +2,7 @@ from pyramid.events import subscriber from pyramid.view import view_config -class Yup(object): +class Yup: def __init__(self, val, config): self.val = val @@ -15,12 +15,12 @@ class Yup(object): return getattr(event.response, 'yup', False) -class Foo(object): +class Foo: def __init__(self, response): self.response = response -class Bar(object): +class Bar: pass |
