Skip to content

Commit

Permalink
Merge pull request #13324 from meeseeksmachine/auto-backport-of-pr-13…
Browse files Browse the repository at this point in the history
…322-on-v5.0.x

Backport PR #13322 on branch v5.0.x (TST: Fix numpy-dev failure)
  • Loading branch information
pllim committed Jun 11, 2022
2 parents 5a6ef4a + 106e52a commit 1213596
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion astropy/visualization/wcsaxes/tests/test_misc.py
Expand Up @@ -24,7 +24,10 @@

ft_version = Version(matplotlib.ft2font.__freetype_version__)
FREETYPE_261 = ft_version == Version("2.6.1")
TEX_UNAVAILABLE = not matplotlib.checkdep_usetex(True)

# We cannot use matplotlib.checkdep_usetex() anymore, see
# https://github.com/matplotlib/matplotlib/issues/23244
TEX_UNAVAILABLE = True

MATPLOTLIB_DEV = Version(matplotlib.__version__).is_devrelease

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -97,7 +97,7 @@ extras =
alldeps: test_all

commands =
devdeps: pip install -U --pre -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
pip freeze
!cov-!double: pytest --pyargs astropy {toxinidir}/docs {env:MPLFLAGS} {posargs}
cov-!double: pytest --pyargs astropy {toxinidir}/docs {env:MPLFLAGS} --cov astropy --cov-config={toxinidir}/setup.cfg {posargs}
Expand Down

0 comments on commit 1213596

Please sign in to comment.