Skip to content

Commit cf7fc31

Browse files
Modify import method
1 parent d68c468 commit cf7fc31

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Lib/test/test_turtle_gui.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import unittest
22
from itertools import zip_longest
3-
from test import support
43
import os
54
from tkinter import _tkinter, PhotoImage
65
import time
6+
from test import support
7+
from test.support import import_helper
8+
from test.support import os_helper
79

8-
turtle = support.import_module('turtle')
10+
turtle = import_helper.import_module('turtle')
911

1012

1113
def simulate_mouse_input(w, coords):

0 commit comments

Comments
 (0)