If a module exists in `sys.modules` already, `load_module` has to return it. Fixes https://bitbucket.org/pytest-dev/pytest/issue/435 --HG-- branch : fix-reload |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| newinterpret.py | ||
| oldinterpret.py | ||
| reinterpret.py | ||
| rewrite.py | ||
| util.py | ||
If a module exists in `sys.modules` already, `load_module` has to return it. Fixes https://bitbucket.org/pytest-dev/pytest/issue/435 --HG-- branch : fix-reload |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| newinterpret.py | ||
| oldinterpret.py | ||
| reinterpret.py | ||
| rewrite.py | ||
| util.py | ||