Description: The deepreload test fails with python 3.5 unless more modules are excluded.
Origin: https://github.com/ipython/ipython/commit/8361063526906efaf628a0a93fd4e990b68736d9
Origin: https://github.com/ipython/ipython/commit/56fbc14c2b290a9afb5e897096598383b0d6d4ae
Origin: https://github.com/ipython/ipython/commit/786c612bffa6eca905518660729350b364d5d8db
Origin: https://github.com/ipython/ipython/commit/6525f3bb574917afd42ceef44dd41c882a2f2d3f
Origin: https://github.com/ipython/ipython/commit/1d9ef76249a2a4dd9351f0df14f91f5915e37c8f

Index: b/IPython/lib/tests/test_deepreload.py
===================================================================
--- a/IPython/lib/tests/test_deepreload.py
+++ b/IPython/lib/tests/test_deepreload.py
@@ -23,12 +23,18 @@
 def test_deepreload_numpy():
     "Test that NumPy can be deep reloaded."
     import numpy
+    # TODO: Find a way to exclude all standard library modules from reloading.
     exclude = [
         # Standard exclusions:
         'sys', 'os.path', builtin_mod_name, '__main__',
         # Test-related exclusions:
-        'unittest', 'UserDict',
+        'unittest', 'UserDict', '_collections_abc', 'tokenize',
+        'collections', 'collections.abc',
+        'importlib', 'importlib.machinery', '_imp',
+        'importlib._bootstrap', 'importlib._bootstrap_external',
+        '_frozen_importlib', '_frozen_importlib_external',
         ]
+
     dreload(numpy, exclude=exclude)
 
 def test_deepreload():
