fix pyflakes

This commit is contained in:
clowwindy 2014-11-01 13:10:19 +08:00
parent 82ddafafa5
commit 13c6c393db

View file

@ -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