Commit cf20c0d9 authored by Stefan Behnel's avatar Stefan Behnel

added test for self-reimport at module init time

--HG--
extra : transplant_source : Y%1C%3A%07%2C%60%B0%F0.%EA%B1%23%3F%0E%20%89%13%C5%C24
parent d59c39ac
# 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