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():
636
636
import matplotlib .pyplot as plt
637
637
# increase pause duration on CI to let things spin up
638
638
# 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
640
640
fig = plt .figure ()
641
641
plt .pause (pause_time )
642
642
timer = fig .canvas .new_timer (0.1 )
@@ -663,5 +663,9 @@ def _impl_test_interactive_timers():
663
663
664
664
@pytest .mark .parametrize ("env" , _get_testable_interactive_backends ())
665
665
def 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" )
666
670
_run_helper (_impl_test_interactive_timers ,
667
671
timeout = _test_timeout , extra_env = env )
You can’t perform that action at this time.
0 commit comments