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

Skip to content

Commit f870e7a

Browse files
committed
Correction of pytest calls
1 parent 59ddc0f commit f870e7a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/matplotlib/tests/test_backend_macosx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def test_save_figure_return():
6161
assert fname is None
6262

6363

64+
@pytest.mark.backend('macosx')
6465
def test_ipython():
6566
from matplotlib.testing import ipython_in_subprocess
6667
ipython_in_subprocess("osx", {(8, 24): "macosx", (7, 0): "MacOSX"})

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ def custom_handler(signum, frame):
388388
signal.signal(signal.SIGINT, original_handler)
389389

390390

391+
@pytest.mark.backend('QtAgg', skip_on_importerror=True)
391392
def test_ipython():
392393
from matplotlib.testing import ipython_in_subprocess
393394
ipython_in_subprocess("qt", {(8, 24): "qtagg", (8, 15): "QtAgg", (7, 0): "Qt5Agg"})

0 commit comments

Comments
 (0)