diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pkgs/restbugapp/views.py | 2 | ||||
| -rw-r--r-- | tests/test_scripts/test_pserve.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pkgs/restbugapp/views.py b/tests/pkgs/restbugapp/views.py index 429ad0ea2..6930d3668 100644 --- a/tests/pkgs/restbugapp/views.py +++ b/tests/pkgs/restbugapp/views.py @@ -11,7 +11,7 @@ class PetRESTView(BaseRESTView): """ REST Controller to control action of an avatar """ def __init__(self, context, request): - super(PetRESTView, self).__init__(context, request) + super().__init__(context, request) def GET(self): return Response('gotten') diff --git a/tests/test_scripts/test_pserve.py b/tests/test_scripts/test_pserve.py index 7bf962f9e..f2df0d83e 100644 --- a/tests/test_scripts/test_pserve.py +++ b/tests/test_scripts/test_pserve.py @@ -119,7 +119,7 @@ class TestPServeCommand(unittest.TestCase): class AttrDict(dict): def __init__(self, *args, **kwargs): - super(AttrDict, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.__dict__ = self def dummy_start_reloader(*args, **kwargs): |
