diff options
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 2 |
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) |