Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc5f4e6

Browse filesBrowse files
committed
Mark the interactive backend test as flaky.
It seems to fail quite regularly.
1 parent 1b5223a commit fc5f4e6
Copy full SHA for fc5f4e6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_backends_interactive.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backends_interactive.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ def _get_testable_interactive_backends():
4141

4242

4343
@pytest.mark.parametrize("backend", _get_testable_interactive_backends())
44+
@pytest.mark.flaky(reruns=3)
4445
def test_backend(backend):
4546
environ = os.environ.copy()
4647
environ["MPLBACKEND"] = backend
4748
proc = Popen([sys.executable, "-c", _test_script], env=environ)
4849
# Empirically, 1s is not enough on Travis.
49-
assert proc.wait(timeout=5) == 0
50+
assert proc.wait(timeout=10) == 0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.