Commit ad0af15f authored by Stefan Behnel's avatar Stefan Behnel

added test for self-reimport at module init time

parent 546fceb7
# mode: run
# tags: import
# reimports at module init time used to be a problem in Py3
import reimport
def test():
"""
>>> test()
True
"""
import sys
return reimport in sys.modules.values()
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