fix pyflakes
This commit is contained in:
parent
82ddafafa5
commit
13c6c393db
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue