From: Armin Rigo Date: Fri, 24 Oct 2003 17:15:29 +0000 (+0000) Subject: Fixed bug introduced in revision 1.27 X-Git-Tag: v2.4a1~1380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b3c04b510c875fd3e31d13b73e76d3702bf99a0;p=python Fixed bug introduced in revision 1.27 --- diff --git a/Lib/unittest.py b/Lib/unittest.py index 06aee9a461..d305d954b3 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -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)