##// END OF EJS Templates
Add deepreload unit test....
Add deepreload unit test. Thanks to Fernando for the suggestion and starting code.

File last commit:

r6533:b0f53e41
r6533:b0f53e41
Show More
test_deepreload.py
15 lines | 414 B | text/x-python | PythonLexer
"""Test suite for the deepreload module."""
from IPython.testing import decorators as dec
from IPython.lib.deepreload import reload as dreload
@dec.skipif_not_numpy
def test_deepreload_numpy():
import numpy
exclude = [
# Standard exclusions:
'sys', 'os.path', '__builtin__', '__main__',
# Test-related exclusions:
'unittest',
]
dreload(numpy, exclude=exclude)