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/pkgs/eventonly/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/pkgs/eventonly') 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 -- cgit v1.2.3