Skip to content

Commit

Permalink
comment mpl calls in remote tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatthieu3 committed Jan 7, 2021
1 parent a226142 commit 9acf198
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion astropy_helpers
Submodule astropy_helpers updated 92 files
+0 −39 .circleci/config.yml
+2 −3 .gitignore
+0 −10 .readthedocs.yml
+29 −97 .travis.yml
+1 −132 CHANGES.rst
+0 −1 MANIFEST.in
+42 −19 README.rst
+33 −24 ah_bootstrap.py
+49 −0 appveyor.yml
+4 −1 astropy_helpers/__init__.py
+10 −2 astropy_helpers/commands/_dummy.py
+307 −0 astropy_helpers/commands/_test_compat.py
+435 −165 astropy_helpers/commands/build_ext.py
+39 −0 astropy_helpers/commands/build_py.py
+143 −105 astropy_helpers/commands/build_sphinx.py
+14 −0 astropy_helpers/commands/install.py
+14 −0 astropy_helpers/commands/install_lib.py
+53 −0 astropy_helpers/commands/register.py
+5 −0 astropy_helpers/commands/setup_package.py
+36 −14 astropy_helpers/commands/src/compiler.c
+12 −17 astropy_helpers/commands/test.py
+12 −0 astropy_helpers/compat/__init__.py
+3 −9 astropy_helpers/conftest.py
+0 −6 astropy_helpers/distutils_helpers.py
+11 −0 astropy_helpers/extern/__init__.py
+1 −0 astropy_helpers/extern/automodapi/__init__.py
+138 −0 astropy_helpers/extern/automodapi/autodoc_enhancements.py
+438 −0 astropy_helpers/extern/automodapi/automodapi.py
+694 −0 astropy_helpers/extern/automodapi/automodsumm.py
+107 −0 astropy_helpers/extern/automodapi/smart_resolver.py
+10 −0 astropy_helpers/extern/automodapi/templates/autosummary_core/base.rst
+65 −0 astropy_helpers/extern/automodapi/templates/autosummary_core/class.rst
+41 −0 astropy_helpers/extern/automodapi/templates/autosummary_core/module.rst
+214 −0 astropy_helpers/extern/automodapi/utils.py
+8 −0 astropy_helpers/extern/numpydoc/__init__.py
+624 −0 astropy_helpers/extern/numpydoc/docscrape.py
+425 −0 astropy_helpers/extern/numpydoc/docscrape_sphinx.py
+325 −0 astropy_helpers/extern/numpydoc/numpydoc.py
+16 −0 astropy_helpers/extern/numpydoc/templates/numpydoc_docstring.rst
+4 −0 astropy_helpers/extern/setup_package.py
+0 −2 astropy_helpers/git_helpers.py
+31 −225 astropy_helpers/openmp_helpers.py
+84 −96 astropy_helpers/setup_helpers.py
+8 −0 astropy_helpers/sphinx/__init__.py
+340 −2 astropy_helpers/sphinx/conf.py
+2 −0 astropy_helpers/sphinx/ext/__init__.py
+92 −0 astropy_helpers/sphinx/ext/changelog_links.py
+56 −0 astropy_helpers/sphinx/ext/doctest.py
+168 −0 astropy_helpers/sphinx/ext/edit_on_github.py
+ astropy_helpers/sphinx/local/python2_local_links.inv
+25 −0 astropy_helpers/sphinx/local/python2_local_links.txt
+ astropy_helpers/sphinx/local/python3_local_links.inv
+38 −0 astropy_helpers/sphinx/local/python3_local_links.txt
+10 −0 astropy_helpers/sphinx/setup_package.py
+3 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/globaltoc.html
+96 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/layout.html
+3 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/localtoc.html
+7 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/searchbox.html
+75 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_linkout.svg
+ astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_linkout_20.png
+ astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo.ico
+87 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo.svg
+ astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo_32.png
+601 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/static/bootstrap-astropy.css
+63 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/static/copybutton.js
+160 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/static/sidebar.js
+10 −0 astropy_helpers/sphinx/themes/bootstrap-astropy/theme.conf
+13 −0 astropy_helpers/test_helpers.py
+0 −3 astropy_helpers/tests/__init__.py
+0 −0 astropy_helpers/tests/coveragerc
+1 −0 astropy_helpers/tests/test_ah_bootstrap.py
+16 −57 astropy_helpers/tests/test_git_helpers.py
+3 −32 astropy_helpers/tests/test_openmp_helpers.py
+208 −43 astropy_helpers/tests/test_setup_helpers.py
+568 −16 astropy_helpers/utils.py
+40 −94 astropy_helpers/version_helpers.py
+0 −19 docs/Makefile
+0 −22 docs/advanced.rst
+0 −14 docs/api.rst
+0 −273 docs/basic.rst
+0 −52 docs/conf.py
+0 −29 docs/developers.rst
+0 −36 docs/index.rst
+0 −12 docs/known_issues.rst
+0 −35 docs/make.bat
+0 −28 docs/updating.rst
+0 −53 docs/using.rst
+50 −0 licenses/LICENSE_COPYBUTTON.rst
+94 −0 licenses/LICENSE_NUMPYDOC.rst
+0 −3 pyproject.toml
+0 −37 setup.cfg
+44 −17 setup.py
8 changes: 4 additions & 4 deletions astroquery/hips2fits/tests/test_hips2fits_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def test_query_jpg_no_wcs(self):
cmap=Colormap('viridis'),
)

import matplotlib.cm as cm
import matplotlib.pyplot as plt
# import matplotlib.cm as cm
# import matplotlib.pyplot as plt

im = plt.imshow(result)
plt.show(im)
# im = plt.imshow(result)
# plt.show(im)

# We must get a numpy array with 3 dimensions, and the last one should be of size 3 (RGB)
assert isinstance(result, np.ndarray) and result.shape[2] == 3
Expand Down

0 comments on commit 9acf198

Please sign in to comment.