Skip to content

Commit 2558665

Browse files
authored
Add TestTkImportTime test class in MISC
1 parent 8350043 commit 2558665

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Lib/test/test_tkinter/test_misc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111

1212
support.requires('gui')
1313

14+
class TestTkImportTime(AbstractTkTest, unittest.TestCase):
15+
@support.cpython_only
16+
def test_lazy_imports(self):
17+
import_helper.ensure_lazy_imports(
18+
"tkinter", {"re", "os", "traceback"}
19+
)
20+
1421
class MiscTest(AbstractTkTest, unittest.TestCase):
1522

1623
def test_all(self):

0 commit comments

Comments
 (0)