Commit 1b3c04b5 authored by Armin Rigo's avatar Armin Rigo

Fixed bug introduced in revision 1.27

parent 4894c306
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment