Use absolute imports in IDLE tests (GH-26581)

Relative imports do not work when running test_x as main.
This commit is contained in:
Terry Jan Reedy 2021-06-07 17:56:34 -04:00 committed by GitHub
parent 449e6f0ef3
commit e915db3e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ from idlelib import colorizer
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