Commit c9b36210 authored by Stefan Behnel's avatar Stefan Behnel

Extend module reimport test.

parent 7403a237
...@@ -32,3 +32,13 @@ import a ...@@ -32,3 +32,13 @@ import a
import atest.package.module as module import atest.package.module as module
assert module in sys.modules.values(), list(sys.modules) assert module in sys.modules.values(), list(sys.modules)
assert sys.modules['atest.package.module'] is module, list(sys.modules) assert sys.modules['atest.package.module'] is module, list(sys.modules)
from . import pymodule
######## atest/package/pymodule.py ########
from . import module
from ..package import module
import atest.package.module
import a
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