Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b3c04b

Browse files
committed
Fixed bug introduced in revision 1.27
1 parent 4894c30 commit 1b3c04b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def loadTestsFromName(self, name, module=None):
504504
except ImportError:
505505
del parts_copy[-1]
506506
if not parts_copy: raise
507-
parts = parts[1:]
507+
parts = parts[1:]
508508
obj = module
509509
for part in parts:
510510
parent, obj = obj, getattr(obj, part)

0 commit comments

Comments
 (0)