cpython: 78d36d54391c (original) (raw)
Mercurial > cpython
changeset 86820:78d36d54391c
Issue #19413: Disregard duplicate namespace portions during reload tests. [#19413]
Eric Snow ericsnowcurrently@gmail.com | |
---|---|
date | Thu, 31 Oct 2013 23:44:31 -0600 |
parents | 88c3a1a3c2ff |
children | 599b5200ad51 |
files | Lib/test/test_importlib/test_api.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_importlib/test_api.py 4 |
line wrap: on
line diff
--- a/Lib/test/test_importlib/test_api.py +++ b/Lib/test/test_importlib/test_api.py @@ -279,8 +279,8 @@ class ReloadTests: del ns['initializing'] loader = ns.pop('loader') path = ns.pop('path')
self.assertEqual(list(path),[](#l1.7)
[os.path.dirname(bad_path)] * 2)[](#l1.8)
self.assertEqual(set(path),[](#l1.9)
set([os.path.dirname(bad_path)]))[](#l1.10) with self.assertRaises(AttributeError):[](#l1.11) # a NamespaceLoader[](#l1.12) loader.path[](#l1.13)