@@ -113,12 +113,16 @@ def test_gevent_monkey(pyi_builder):
113
113
114
114
115
115
@xfail (is_darwin , reason = 'Issue #1895.' )
116
+ @importorskip ('tkinter' )
117
+ @importorskip ('Tkinter' )
116
118
def test_tkinter (pyi_builder ):
117
119
pyi_builder .test_script ('pyi_lib_tkinter.py' )
118
120
119
121
120
122
@xfail (is_darwin , reason = 'Issue #1895.' )
121
123
@importorskip ('FixTk' )
124
+ @importorskip ('tkinter' )
125
+ @importorskip ('Tkinter' )
122
126
def test_tkinter_FixTk (pyi_builder ):
123
127
# check if Tkinter includes FixTk
124
128
# TODO: Python 3 contains module 'tkinter._fix' - does it need any special test or handling?
@@ -312,7 +316,7 @@ def test_zope_interface(pyi_builder):
312
316
313
317
314
318
@xfail (is_darwin , reason = 'Issue #1895.' )
315
- @importorskip ('idlelib' )
319
+ @importorskip ('idlelib.TreeWidget ' )
316
320
def test_idlelib (pyi_builder ):
317
321
pyi_builder .test_source (
318
322
"""
@@ -580,6 +584,8 @@ def test_pil_img_conversion(pyi_builder_spec):
580
584
@xfail (is_darwin , reason = 'Issue #1895.' )
581
585
@importorskip ('PIL' )
582
586
@importorskip ('FixTk' )
587
+ @importorskip ('tkinter' )
588
+ @importorskip ('Tkinter' )
583
589
def test_pil_FixTk (pyi_builder ):
584
590
# hook-PIL is excluding FixTk, but is must still be included
585
591
# since it is imported elsewhere. Also see issue #1584.
@@ -616,6 +622,8 @@ def test_pil_PyQt4(pyi_builder):
616
622
617
623
618
624
@importorskip ('PIL' )
625
+ @importorskip ('tkinter' )
626
+ @importorskip ('Tkinter' )
619
627
def test_pil_plugins (pyi_builder ):
620
628
pyi_builder .test_source (
621
629
"""
0 commit comments