summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_api.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2014-01-04 22:06:49 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2014-01-04 22:06:49 (GMT)
commitd749c7ae683a98bb2f0c1ac3c9ac2d3c5bb6e51f (patch)
treedb62a95d76cc066f937039914a9c2461087b32cf /Lib/test/test_importlib/test_api.py
parent78194cd4e920550bad4f9cad5f7411927ab3f458 (diff)
downloadcpython-d749c7ae683a98bb2f0c1ac3c9ac2d3c5bb6e51f.zip
cpython-d749c7ae683a98bb2f0c1ac3c9ac2d3c5bb6e51f.tar.gz
cpython-d749c7ae683a98bb2f0c1ac3c9ac2d3c5bb6e51f.tar.bz2
Issue #19927: Add __eq__ to path-based loaders in importlib.
Diffstat (limited to 'Lib/test/test_importlib/test_api.py')
-rw-r--r--Lib/test/test_importlib/test_api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_importlib/test_api.py b/Lib/test/test_importlib/test_api.py
index 792c82d..2a6142a 100644
--- a/Lib/test/test_importlib/test_api.py
+++ b/Lib/test/test_importlib/test_api.py
@@ -288,8 +288,7 @@ class FindSpecTests:
self.assertNotIn(name, sorted(sys.modules))
# Ensure successive calls behave the same.
spec_again = self.init.find_spec(fullname, [pkg_dir])
- # XXX Once #19927 is resolved, uncomment this line.
- #self.assertEqual(spec_again, spec)
+ self.assertEqual(spec_again, spec)
def test_find_submodule_missing_path(self):
name = 'spam'