diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-05 21:51:56 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-05 21:51:56 -0400 |
commit | 302dcd33efa4772d89f462710795a4e714040b9f (patch) | |
tree | 8c2fd446a99068ffb8be97fa99a0fbb68d5a677c /Lib/idlelib/idle_test | |
parent | ef1a1988d9d1438f0e6b98186b92734c044c9f71 (diff) | |
download | cpython-302dcd33efa4772d89f462710795a4e714040b9f.tar.gz |
Issue #27452: make command line idle-test> python test_help.py work.
__file__ is relative in this case.
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/test_help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_help.py b/Lib/idlelib/idle_test/test_help.py index cdded2ac79..2c68e23b32 100644 --- a/Lib/idlelib/idle_test/test_help.py +++ b/Lib/idlelib/idle_test/test_help.py @@ -16,7 +16,7 @@ class HelpFrameTest(unittest.TestCase): "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 |