Closed
Description
The test suite is getting to be quite slow. Here are the 20 slowest tests on my mac:
pytest --durations=20
18.96s call pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_kwargs
16.32s call pvlib/tests/iotools/test_psm3.py::test_get_psm3_singleyear
14.82s setup pvlib/tests/test_forecast.py::test_process_data[HRRR]
8.12s call pvlib/tests/iotools/test_psm3.py::test_get_psm3_tmy
6.82s setup pvlib/tests/test_forecast.py::test_process_data[NDFD]
5.47s call pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_epw
4.78s call pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy
3.99s setup pvlib/tests/test_forecast.py::test_process_data[RAP]
3.45s call pvlib/tests/iotools/test_srml.py::test_read_srml_month_from_solardat
3.20s call pvlib/tests/test_forecast.py::test_bad_kwarg_get_data
3.16s call pvlib/tests/test_forecast.py::test_bad_kwarg_get_processed_data
3.13s call pvlib/tests/test_forecast.py::test_how_kwarg_get_processed_data
3.13s setup pvlib/tests/test_forecast.py::test_process_data[NAM]
3.12s call pvlib/tests/test_forecast.py::test_vert_level
3.08s call pvlib/tests/test_forecast.py::test_datetime
2.98s call pvlib/tests/test_irradiance.py::test_get_extra_radiation_nrel_numba
2.85s call pvlib/tests/test_solarposition.py::test_spa_python_numba_physical
2.82s call pvlib/tests/test_solarposition.py::test_get_solarposition_deltat[None-nrel_numba]
2.73s setup pvlib/tests/test_spa.py::NumbaSpaTest::test_aberration_correction
2.69s call pvlib/tests/iotools/test_pvgis.py::test_get_pvgis_tmy_basic
I will work on the forecast
tests. Any ideas for the iotools
tests?