mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +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:
|
||||
del parts_copy[-1]
|
||||
if not parts_copy: raise
|
||||
parts = parts[1:]
|
||||
parts = parts[1:]
|
||||
obj = module
|
||||
for part in parts:
|
||||
parent, obj = obj, getattr(obj, part)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue