mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Issue #27452: make command line idle-test> python test_help.py work.
__file__ is relative in this case.
This commit is contained in:
parent
5ce1b86b0e
commit
9862b5194d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue