Skip to content

Commit 78587c1

Browse files
committed
fixing up small pytest issues
1 parent b0a342d commit 78587c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/matplotlib/tests/test_mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2751,7 +2751,7 @@ def get_z(x, y):
27512751
np.ma.getmask(correct_zi_masked))
27522752

27532753

2754-
@pytest.mark.xfail(not HAS_NATGRID,
2754+
@pytest.mark.xfail(not HAS_NATGRID,
27552755
reason='import of the natgrid toolkit failed')
27562756
def test_griddata_nn():
27572757
# z is a linear function of x and y.

lib/matplotlib/tests/test_patheffects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from matplotlib.testing.decorators import (image_comparison, cleanup)
99
import matplotlib.pyplot as plt
1010
import matplotlib.patheffects as path_effects
11+
import pytest
1112

1213
try:
1314
# mock in python 3.3+

0 commit comments

Comments
 (0)