summaryrefslogtreecommitdiff
path: root/tests/test_scripts/test_pviews.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_scripts/test_pviews.py')
-rw-r--r--tests/test_scripts/test_pviews.py10
1 files changed, 5 insertions, 5 deletions
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