mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
Issue #19927: Add __eq__ to path-based loaders in importlib.
This commit is contained in:
parent
78194cd4e9
commit
d749c7ae68
6 changed files with 698 additions and 621 deletions
|
|
@ -288,8 +288,7 @@ def test_find_submodule(self):
|
|||
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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue