summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-07 22:15:31 (GMT)
committerGitHub <noreply@github.com>2021-06-07 22:15:31 (GMT)
commit8524e32d77b6741cdd7f947c009b10b54c6529b8 (patch)
treef7f16f488c183dd2df8e7c07d3c4883fd479746f /Lib/idlelib
parent2af690fdb26d0312de056b54ddb113d3c44dee8c (diff)
downloadcpython-8524e32d77b6741cdd7f947c009b10b54c6529b8.zip
cpython-8524e32d77b6741cdd7f947c009b10b54c6529b8.tar.gz
cpython-8524e32d77b6741cdd7f947c009b10b54c6529b8.tar.bz2
Use absolute imports in IDLE tests (GH-26581)
Relative imports do not work when running test_x as main. (cherry picked from commit e915db3e9e512249a6f494c0b331db2d021e1f56) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_colorizer.py2
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