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/test_scripts/test_pviews.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test_scripts/test_pviews.py') diff --git a/tests/test_scripts/test_pviews.py b/tests/test_scripts/test_pviews.py index b462b6f28..fb809fdcd 100644 --- a/tests/test_scripts/test_pviews.py +++ b/tests/test_scripts/test_pviews.py @@ -51,7 +51,7 @@ class TestPViewsCommand(unittest.TestCase): registry = Registry() @implementer(IMultiView) - class View1(object): + class View1: pass request = dummy.DummyRequest() @@ -105,7 +105,7 @@ class TestPViewsCommand(unittest.TestCase): registry = Registry() @implementer(IMultiView) - class View1(object): + class View1: pass request = dummy.DummyRequest() @@ -147,7 +147,7 @@ class TestPViewsCommand(unittest.TestCase): registry.registerUtility(IMyRoute, IRouteRequest, name='a') @implementer(IMyRoot) - class Factory(object): + class Factory: def __init__(self, request): pass @@ -190,7 +190,7 @@ class TestPViewsCommand(unittest.TestCase): registry.registerUtility(IMyRoute2, IRouteRequest, name='b') @implementer(IMyRoot) - class Factory(object): + class Factory: def __init__(self, request): pass @@ -242,7 +242,7 @@ class TestPViewsCommand(unittest.TestCase): registry.registerUtility(IMyRoute2, IRouteRequest, name='b') @implementer(IMyRoot) - class Factory(object): + class Factory: def __init__(self, request): pass -- cgit v1.2.3