Commit e2d93e20 authored by Stefan Behnel's avatar Stefan Behnel

Restrict an import test that relies on PEP-489 behaviour to Py3.5+.

parent 9968b672
......@@ -33,7 +33,8 @@ import atest.package.module as module
assert module in sys.modules.values(), list(sys.modules)
assert sys.modules['atest.package.module'] is module, list(sys.modules)
from . import pymodule
if sys.version_info >= (3, 5):
from . import pymodule
######## atest/package/pymodule.py ########
......
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