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

__file__ is relative in this case.
This commit is contained in:
Terry Jan Reedy 2016-07-05 21:51:56 -04:00
parent 5ce1b86b0e
commit 9862b5194d

View file

@ -16,7 +16,7 @@ def setUpClass(cls):
"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