Commit 4a7e320c authored by Stefan Behnel's avatar Stefan Behnel

fix test in Py3.5

parent 144f41bc
...@@ -23,7 +23,7 @@ def try_import(): ...@@ -23,7 +23,7 @@ def try_import():
else: else:
raise RuntimeError("expected ValueError from import") raise RuntimeError("expected ValueError from import")
if sys.version_info >= (3, 3): if (3, 3) <= sys.version_info < (3, 5):
assert 'fail_in_init' not in sys.modules assert 'fail_in_init' not in sys.modules
elif 'fail_in_init' in sys.modules: elif 'fail_in_init' in sys.modules:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment