Commit cb53591c authored by Stefan Behnel's avatar Stefan Behnel

Add reload(module) test that checks the current module singleton property.

parent ef5f5040
# mode: run
# tag: pep489
import reload_ext_module
def test_reload(module):
"""
>>> module = test_reload(reload_ext_module)
>>> module is reload_ext_module # Py_mod_create enforces a singleton.
True
"""
return reload(module)
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