Skip to content

Commit 8524e32

Browse files
Use absolute imports in IDLE tests (GH-26581)
Relative imports do not work when running test_x as main. (cherry picked from commit e915db3) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 2af690f commit 8524e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/idle_test/test_colorizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from test.support import requires
44
import unittest
55
from unittest import mock
6-
from .tkinter_testing_utils import run_in_tk_mainloop
6+
from idlelib.idle_test.tkinter_testing_utils import run_in_tk_mainloop
77

88
from functools import partial
99
import textwrap

0 commit comments

Comments
 (0)