changeset: 102259:adbeef96ae95 user: Terry Jan Reedy date: Tue Jul 05 21:51:56 2016 -0400 files: Lib/idlelib/idle_test/test_help.py description: Issue #27452: make command line idle-test> python test_help.py work. __file__ is relative in this case. diff -r c2e21bc83066 -r adbeef96ae95 Lib/idlelib/idle_test/test_help.py --- a/Lib/idlelib/idle_test/test_help.py Tue Jul 05 20:11:37 2016 -0400 +++ b/Lib/idlelib/idle_test/test_help.py Tue Jul 05 21:51:56 2016 -0400 @@ -16,7 +16,7 @@ "By itself, this tests that file parsed without exception." cls.root = root = Tk() root.withdraw() - helpfile = join(abspath(dirname(dirname(__file__))), 'help.html') + helpfile = join(dirname(dirname(abspath(__file__))), 'help.html') cls.frame = help.HelpFrame(root, helpfile) @classmethod