Skip to content

Commit 3208831

Browse files
committed
Reduce pause time in interactive tests
1 parent b6777b1 commit 3208831

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
@@ -649,12 +649,9 @@ def _impl_test_interactive_timers():
649649
# milliseconds, which the mac framework interprets as singleshot.
650650
# We only want singleshot if we specify that ourselves, otherwise we want
651651
# a repeating timer
652-
import os
653652
from unittest.mock import Mock
654653
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
654+
pause_time = 0.5
658655
fig = plt.figure()
659656
plt.pause(pause_time)
660657
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