fix pyflakes
This commit is contained in:
@ -83,10 +83,11 @@ def check_env():
|
|||||||
# skip this test on pypy and Python 3
|
# skip this test on pypy and Python 3
|
||||||
try:
|
try:
|
||||||
import __pypy__
|
import __pypy__
|
||||||
|
del __pypy__
|
||||||
from nose.plugins.skip import SkipTest
|
from nose.plugins.skip import SkipTest
|
||||||
raise SkipTest
|
raise SkipTest
|
||||||
except ImportError:
|
except ImportError:
|
||||||
__pypy__ = None
|
pass
|
||||||
if bytes != str:
|
if bytes != str:
|
||||||
from nose.plugins.skip import SkipTest
|
from nose.plugins.skip import SkipTest
|
||||||
raise SkipTest
|
raise SkipTest
|
||||||
|
Reference in New Issue
Block a user