Skip to content

Commit 1be2d95

Browse files
committed
Change unittest.__main__ to use import os.path
1 parent 02f5bcc commit 1be2d95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/unittest/__main__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import sys
44
if sys.argv[0].endswith("__main__.py"):
5-
# FIXME change to `import os.path` as it was for cpython once `import os.path` works
6-
import os
5+
import os.path
76
# We change sys.argv[0] to make help message more useful
87
# use executable without path, unquoted
98
# (it's just a hint anyway)

0 commit comments

Comments
 (0)