Skip to content

Commit 69cc645

Browse files
authored
Merge pull request #30277 from meeseeksmachine/auto-backport-of-pr-30271-on-v3.10.x
Backport PR #30271 on branch v3.10.x (Reduce pause time in interactive timer test)
2 parents d08293a + f6a805e commit 69cc645

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,9 @@ def _impl_test_interactive_timers():
634634
# milliseconds, which the mac framework interprets as singleshot.
635635
# We only want singleshot if we specify that ourselves, otherwise we want
636636
# a repeating timer
637-
import os
638637
from unittest.mock import Mock
639638
import matplotlib.pyplot as plt
640-
# increase pause duration on CI to let things spin up
641-
# particularly relevant for gtk3cairo
642-
pause_time = 2 if os.getenv("CI") else 0.5
639+
pause_time = 0.5
643640
fig = plt.figure()
644641
plt.pause(pause_time)
645642
timer = fig.canvas.new_timer(0.1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy