mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Use absolute imports in IDLE tests (GH-26581)
Relative imports do not work when running test_x as main.
This commit is contained in:
parent
449e6f0ef3
commit
e915db3e9e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ from idlelib import colorizer
|
||||||
from test.support import requires
|
from test.support import requires
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import mock
|
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
|
from functools import partial
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue