From 1be2d95142fb0c03063dbac1c3a138431ae8053f Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Tue, 13 Aug 2019 21:41:49 -0500 Subject: [PATCH] Change unittest.__main__ to use import os.path --- Lib/unittest/__main__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/unittest/__main__.py b/Lib/unittest/__main__.py index 711653832..e5876f569 100644 --- a/Lib/unittest/__main__.py +++ b/Lib/unittest/__main__.py @@ -2,8 +2,7 @@ import sys if sys.argv[0].endswith("__main__.py"): - # FIXME change to `import os.path` as it was for cpython once `import os.path` works - import os + import os.path # We change sys.argv[0] to make help message more useful # use executable without path, unquoted # (it's just a hint anyway)