]> granicus.if.org Git - python/commitdiff
Fixed bug introduced in revision 1.27
authorArmin Rigo <arigo@tunes.org>
Fri, 24 Oct 2003 17:15:29 +0000 (17:15 +0000)
committerArmin Rigo <arigo@tunes.org>
Fri, 24 Oct 2003 17:15:29 +0000 (17:15 +0000)
Lib/unittest.py

index 06aee9a46138232477a53241f297953a03261e2c..d305d954b318f6e5bbb5ccba3016908f48a4da62 100644 (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)