File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ def _impl_test_interactive_timers():
638
638
import m
94D7
atplotlib .pyplot as plt
639
639
# increase pause duration on CI to let things spin up
640
640
# particularly relevant for gtk3cairo
641
- pause_time = 5 if os .getenv ("CI" ) else 0.5
641
+ pause_time = 2 if os .getenv ("CI" ) else 0.5
642
642
fig = plt .figure ()
643
643
plt .pause (pause_time )
644
644
timer = fig .canvas .new_timer (0.1 )
@@ -665,5 +665,9 @@ def _impl_test_interactive_timers():
665
665
666
666
@pytest .mark .parametrize ("env" , _get_testable_interactive_backends ())
667
667
def test_interactive_timers (env ):
668
+ if env ["MPLBACKEND" ] == "gtk3cairo" and os .getenv ("CI" ):
669
+ pytest .skip ("gtk3cairo timers do not work in remote CI" )
670
+ if env ["MPLBACKEND" ] == "wx" :
671
+ pytest .skip ("wx backend is deprecated; tests failed on appveyor" )
668
672
_run_helper (_impl_test_interactive_timers ,
669
673
timeout = _test_timeout , extra_env = env )
You can’t perform that action at this time.
0 commit comments