Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eebd854

Browse files
QuLogicksunden
andauthored
TST: Tweak timeout setup in test_webagg
Co-authored-by: Kyle Sunden <[email protected]>
1 parent 6b5bc46 commit eebd854

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,10 @@ def test_webagg():
487487
"\n_test_interactive_impl()")
488488
rc = '{"backend": "webagg"}'
489489
with _WaitForStringPopen([sys.executable, "-c", source, rc]) as proc:
490-
timeout = time.perf_counter() + _test_timeout
491490
try:
492491
buf = proc.wait_for('Press Ctrl+C')
493492
url = re.search(r'visit (https?:\/\/\S+)', buf).group(1)
494-
print(url)
493+
timeout = time.perf_counter() + _test_timeout
495494
while True:
496495
try:
497496
retcode = proc.poll()

0 commit comments

Comments
 (0)