metno / pyaerocom

Python tools for the AeroCom project
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
23 stars 13 forks source link

Test failing locally #1203

Closed lewisblake closed 3 weeks ago

lewisblake commented 3 weeks ago

Describe the bug 4 tests are failing locally

FAILED tests/io/test_helpers_units.py::test_unitconv_wet_depo_bck - ValueError: Invalid frequency: ME
FAILED tests/io/test_helpers_units.py::test_unitconv_wet_depo_from_emep - ValueError: Invalid frequency: ME
FAILED tests/io/test_helpers_units.py::test_unitconv_wet_depo_from_emep_time_not_pandas_series - ValueError: Invalid frequency: ME
FAILED tests/io/test_read_aeronet_invv3.py::test_load_berlin - assert [0.0155087894...2667715954319] == approx([0.015...79 ± 1.3e-06])

Please provide a clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. pytest .

Expected behavior A clear and concise description of what you expected to happen.

All tests to pass locally.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context test_unit_helpers.py has a bug which should be closed by #1202 test_read_aeronoet_invv3.py::test_load_berlin still will need to be fixed.

lewisblake commented 3 weeks ago

test_load_berlin can be an xfail, or rewrite the test. file probably got updated.