Use absolute imports in IDLE tests (GH-26581)

Relative imports do not work when running test_x as main.
(cherry picked from commit e915db3e9e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Miss Islington (bot) 2021-06-07 15:15:31 -07:00 committed by GitHub
parent 2af690fdb2
commit 8524e32d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
from test.support import requires
import unittest
from unittest import mock
from .tkinter_testing_utils import run_in_tk_mainloop
from idlelib.idle_test.tkinter_testing_utils import run_in_tk_mainloop
from functools import partial
import textwrap