diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2021-06-07 21:56:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 21:56:34 (GMT) |
commit | e915db3e9e512249a6f494c0b331db2d021e1f56 (patch) | |
tree | d63eea1fbe19d9fba945dc4e4531d150ce441a29 | |
parent | 449e6f0ef395231e3abe467f910b02d7f075c27f (diff) | |
download | cpython-e915db3e9e512249a6f494c0b331db2d021e1f56.zip cpython-e915db3e9e512249a6f494c0b331db2d021e1f56.tar.gz cpython-e915db3e9e512249a6f494c0b331db2d021e1f56.tar.bz2 |
Use absolute imports in IDLE tests (GH-26581)
Relative imports do not work when running test_x as main.
-rw-r--r-- | Lib/idlelib/idle_test/test_colorizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_colorizer.py b/Lib/idlelib/idle_test/test_colorizer.py index b0b120e..308bc38 100644 --- a/Lib/idlelib/idle_test/test_colorizer.py +++ b/Lib/idlelib/idle_test/test_colorizer.py @@ -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 |