From 10ddb6f08592c2740b966e98a6f98a5b83af1896 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 15 Oct 2018 02:42:09 -0500 Subject: fix lint on tests --- tests/test_testing.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/test_testing.py') 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 -- cgit v1.2.3