Skip to content

Commit

Permalink
Backport PR astropy#13322: TST: Fix numpy-dev failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim authored and meeseeksmachine committed Jun 11, 2022
1 parent af9b1e8 commit bc4d2b3
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 @@ -98,7 +98,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 bc4d2b3

Please sign in to comment.