astroplan
astroplan copied to clipboard
'mpl_image_compare' not found
============================= test session starts =============================
platform win32 -- Python 3.7.3, pytest-5.2.1, py-1.8.0, pluggy-0.13.0
Running tests with astroplan version 0.5.
Running tests in lib\site-packages\astroplan.
Date: 2019-11-13T09:59:07
Full Python Version:
3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
encodings: sys: utf-8, locale: cp1252, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15
Numpy: 1.16.5
Scipy: 1.3.1
Matplotlib: 3.1.1
Pandas: 0.24.2
Astropy: 3.2.2
pytz: 2019.3
pyephem: not available
matplotlib: 3.1.1
pytest-mpl: 0.10
astropy_helpers: 3.2.1
Using Astropy options: remote_data: none.
Matplotlib: 3.1.1
Freetype: 2.10.0
rootdir: C:\Users\Zaban\Anaconda3, inifile: setup.cfg
plugins: celery-4.3.0, arraydiff-0.3, doctestplus-0.4.0, mpl-0.10, openfiles-0.4.0, remotedata-0.3.1
collected 76 items / 1 errors / 75 selected
=================================== ERRORS ====================================
____ ERROR collecting lib/site-packages/astroplan/plots/tests/test_sky.py _____
'mpl_image_compare' not found in `markers` configuration option
============================== warnings summary ===============================
C:\Users\Zaban\Anaconda3\lib\site-packages\astroplan\plots\time_dependent.py:9
C:\Users\Zaban\Anaconda3\lib\site-packages\astroplan\plots\time_dependent.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Sequence
C:\Users\Zaban\Anaconda3\lib\importlib\_bootstrap.py:219
C:\Users\Zaban\Anaconda3\lib\importlib\_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!
======================== 2 warnings, 1 error in 3.64s =========================
WARNING: AstropyDeprecationWarning: astropy.extern.six will be removed in 4.0, use the six module directly if it is still needed [astropy.extern.six]
Hmm, mysterious. I wonder if this comment will fix it for you: https://github.com/matplotlib/pytest-mpl/issues/69#issuecomment-492311398.
If you can, clone the git repository, open the setup.cfg file in the astroplan top-level directory and add the lines:
markers =
mpl_image_compare
under the header [tool:pytest]. Then run python setup.py test and see if the tests pass.
I think this was fixed. Please reopen if necessary!