Fixed bug introduced in revision 1.27

This commit is contained in:
Armin Rigo 2003-10-24 17:15:29 +00:00
parent 4894c30626
commit 1b3c04b510
1 changed files with 1 additions and 1 deletions

View File

@ -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)