diff options
| author | Michael Merickel <michael@merickel.org> | 2020-04-23 17:59:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-23 17:59:37 -0500 |
| commit | 4f5708909879cfb399e6d586df68acadc9990ed8 (patch) | |
| tree | 50cc251eb0588bc6d6eb8e1940581022920a7d9c /tests/test_scripts/test_pviews.py | |
| parent | 48cf45b0a1ac04e701101fa18778164825edd429 (diff) | |
| parent | 6a249329b2e4528bd64b46b9a62c53505dec67a9 (diff) | |
| download | pyramid-4f5708909879cfb399e6d586df68acadc9990ed8.tar.gz pyramid-4f5708909879cfb399e6d586df68acadc9990ed8.tar.bz2 pyramid-4f5708909879cfb399e6d586df68acadc9990ed8.zip | |
Merge pull request #3571 from slav0nic/py3features
py3 features
Diffstat (limited to 'tests/test_scripts/test_pviews.py')
| -rw-r--r-- | tests/test_scripts/test_pviews.py | 10 |
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 |
