We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c345b4 + 3208831 commit ac2a909Copy full SHA for ac2a909
lib/matplotlib/tests/test_backends_interactive.py
@@ -649,12 +649,9 @@ def _impl_test_interactive_timers():
649
# milliseconds, which the mac framework interprets as singleshot.
650
# We only want singleshot if we specify that ourselves, otherwise we want
651
# a repeating timer
652
- import os
653
from unittest.mock import Mock
654
import matplotlib.pyplot as plt
655
- # increase pause duration on CI to let things spin up
656
- # particularly relevant for gtk3cairo
657
- pause_time = 2 if os.getenv("CI") else 0.5
+ pause_time = 0.5
658
fig = plt.figure()
659
plt.pause(pause_time)
660
timer = fig.canvas.new_timer(0.1)
0 commit comments