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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b3c04b510c875fd3e31d13b73e76d3702bf99a0;p=thirdparty%2FPython%2Fcpython.git Fixed bug introduced in revision 1.27 --- diff --git a/Lib/unittest.py b/Lib/unittest.py index 06aee9a46138..d305d954b318 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)