diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-15 02:42:09 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-15 09:24:07 -0500 |
| commit | 10ddb6f08592c2740b966e98a6f98a5b83af1896 (patch) | |
| tree | 2e90443b3d8503ac722aa22f52f18f5108498560 /tests/test_testing.py | |
| parent | 4d838f06d0e6d27e34b766fc5c34a8283ff31b38 (diff) | |
| download | pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.gz pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.bz2 pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.zip | |
fix lint on tests
Diffstat (limited to 'tests/test_testing.py')
| -rw-r--r-- | tests/test_testing.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py index b5c689794..90e30c94f 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -1,5 +1,7 @@ import unittest from zope.component import getSiteManager +from zope.interface import Interface +from zope.interface import implementer from pyramid import testing @@ -561,7 +563,7 @@ class Test_skip_on(unittest.TestCase): return skip_on(*platforms) def test_wrong_platform(self): - def foo(): + def foo(): # pragma: no cover return True decorated = self._callFUT('wrong')(foo) @@ -666,10 +668,6 @@ class TestDummySession(unittest.TestCase): self.assertTrue(len(token) >= 1) -from zope.interface import Interface -from zope.interface import implementer - - class IDummy(Interface): pass |
