Exclude UserDict when deep reloading NumPy....
Exclude UserDict when deep reloading NumPy.
This prevents another test failure in IPython.lib.tests.test_irunner_pylab_magic::
Traceback (most recent call last):
...
File "/usr/lib/python2.7/weakref.py", line 53, in __init__
UserDict.UserDict.__init__(self, *args, **kw)
TypeError: unbound method __init__() must be called with UserDict instance as first argument (got WeakValueDictionary instance instead)
Closes
#1636.