mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Fixed bug introduced in revision 1.27
This commit is contained in:
parent
4894c30626
commit
1b3c04b510
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ class TestLoader:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
del parts_copy[-1]
|
del parts_copy[-1]
|
||||||
if not parts_copy: raise
|
if not parts_copy: raise
|
||||||
parts = parts[1:]
|
parts = parts[1:]
|
||||||
obj = module
|
obj = module
|
||||||
for part in parts:
|
for part in parts:
|
||||||
parent, obj = obj, getattr(obj, part)
|
parent, obj = obj, getattr(obj, part)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue