summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2003-10-24 17:15:29 (GMT)
committerArmin Rigo <arigo@tunes.org>2003-10-24 17:15:29 (GMT)
commit1b3c04b510c875fd3e31d13b73e76d3702bf99a0 (patch)
treea4ec44cdead6cbf3a576f8f8800d1222ba1b37ec
parent4894c306266b5fb3a6cf8429cbb6bc31d3e23e4e (diff)
downloadcpython-1b3c04b510c875fd3e31d13b73e76d3702bf99a0.zip
cpython-1b3c04b510c875fd3e31d13b73e76d3702bf99a0.tar.gz
cpython-1b3c04b510c875fd3e31d13b73e76d3702bf99a0.tar.bz2
Fixed bug introduced in revision 1.27
-rw-r--r--Lib/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py
index 06aee9a..d305d95 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)