Kaydet (Commit) 9862b519 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue #27452: make command line idle-test> python test_help.py work.

__file__ is relative in this case.
üst 5ce1b86b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment