mirror of https://github.com/python/cpython.git
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:
parent
2af690fdb2
commit
8524e32d77
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue