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 @@ -636,7 +636,7 @@ def _impl_test_interactive_timers():
636636 import matplotlib .pyplot as plt
637637 # increase pause duration on CI to let things spin up
638638 # particularly relevant for gtk3cairo
639- pause_time = 5 if os .getenv ("CI" ) else 0.5
639+ pause_time = 2 if os .getenv ("CI" ) else 0.5
640640 fig = plt .figure ()
641641 plt .pause (pause_time )
642642 timer = fig .canvas .new_timer (0.1 )
@@ -663,5 +663,9 @@ def _impl_test_interactive_timers():
663663
664664@pytest .mark .parametrize ("env" , _get_testable_interactive_backends ())
665665def test_interactive_timers (env ):
666+ if env ["MPLBACKEND" ] == "gtk3cairo" and os .getenv ("CI" ):
667+ pytest .skip ("gtk3cairo timers do not work in remote CI" )
668+ if env ["MPLBACKEND" ] == "wx" :
669+ pytest .skip ("wx backend is deprecated; tests failed on appveyor" )
666670 _run_helper (_impl_test_interactive_timers ,
667671 timeout = _test_timeout , extra_env = env )
You can’t perform that action at this time.
0 commit comments