We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54e6899 + 46f3996 commit 615fc10Copy full SHA for 615fc10
astroquery/conftest.py
@@ -26,3 +26,15 @@ def pytest_configure(config):
26
except ImportError:
27
# assume astropy v<0.3
28
pass
29
+
30
31
+# Add astropy to test header information and remove unused packages.
32
+# Pytest header customisation was introduced in astropy 1.0.
33
34
+try:
35
+ PYTEST_HEADER_MODULES['astropy'] = 'astropy'
36
+ del PYTEST_HEADER_MODULES['h5py']
37
+ del PYTEST_HEADER_MODULES['Scipy']
38
+ del PYTEST_HEADER_MODULES['Matplotlib']
39
+except NameError:
40
+ pass
0 commit comments