diff options
author | Brett Cannon <brett@python.org> | 2013-02-03 21:16:44 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-02-03 21:16:44 (GMT) |
commit | c0b631c0c475a4985616ee87ecddf4389e9230e0 (patch) | |
tree | e9b32aa8f092bad17d96483b67499ff7c2ec3c29 /Lib/test/test_importlib | |
parent | 02b9d6ecb46afa44cba2c80ec451123c58835dbb (diff) | |
parent | 7a34f02f9e651e8d021ceb759af102d9043b5a5b (diff) | |
download | cpython-c0b631c0c475a4985616ee87ecddf4389e9230e0.zip cpython-c0b631c0c475a4985616ee87ecddf4389e9230e0.tar.gz cpython-c0b631c0c475a4985616ee87ecddf4389e9230e0.tar.bz2 |
merge w/ 3.3
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r-- | Lib/test/test_importlib/test_api.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_importlib/test_api.py b/Lib/test/test_importlib/test_api.py index 7dda1ff..f66e257 100644 --- a/Lib/test/test_importlib/test_api.py +++ b/Lib/test/test_importlib/test_api.py @@ -183,12 +183,6 @@ class StartupTests(unittest.TestCase): # Issue #17098: all modules should have __loader__ defined. for name, module in sys.modules.items(): if isinstance(module, types.ModuleType): - # pyexpat/xml.parsers.expat have submodules that it creates - # by hand and do not set __loader__, which is acceptable. - if 'expat' in name: - continue - self.assertTrue(hasattr(module, '__loader__'), - '{!r} lacks a __loader__ attribute'.format(name)) if name in sys.builtin_module_names: self.assertIn(module.__loader__, (importlib.machinery.BuiltinImporter, |