Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions astropy/visualization/wcsaxes/tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
FREETYPE_261 = ft_version == Version("2.6.1")
TEX_UNAVAILABLE = not matplotlib.checkdep_usetex(True)

# TODO: Improve check when this issue is resolved:
# https://github.com/matplotlib/matplotlib/issues/19419
MATPLOTLIB_DEV = '+' in matplotlib.__version__


def teardown_function(function):
plt.close('all')
Expand Down Expand Up @@ -330,6 +334,7 @@ def test_iterate_coords(ignore_matplotlibrc, tmpdir):
x, y, z = ax.coords


@pytest.mark.xfail(MATPLOTLIB_DEV, reason="https://github.com/matplotlib/matplotlib/issues/19432")
def test_invalid_slices_errors(ignore_matplotlibrc):

# Make sure that users get a clear message when specifying a WCS with
Expand Down Expand Up @@ -400,6 +405,7 @@ def test_invalid_slices_errors(ignore_matplotlibrc):
""".strip()


@pytest.mark.xfail(MATPLOTLIB_DEV, reason="https://github.com/matplotlib/matplotlib/issues/19432")
def test_repr(ignore_matplotlibrc):

# Unit test to make sure __repr__ looks as expected
Expand Down