PEtab-dev / libpetab-python

Python package for working with PEtab files
https://libpetab-python.readthedocs.io
MIT License
14 stars 5 forks source link

Fix pytest.PytestRemovedIn9Warning / Marks applied to fixtures #246

Closed dweindl closed 5 months ago

dweindl commented 5 months ago

Fixes

_________________ ERROR collecting tests/test_visualization.py _________________
tests/test_visualization.py:112: in <module>
    def visu_file_Fujita_empty():
.tox/unit/lib/python3.9/site-packages/_pytest/mark/structures.py:357: in __call__
    store_mark(func, self.mark)
.tox/unit/lib/python3.9/site-packages/_pytest/mark/structures.py:422: in store_mark
    warnings.warn(MARKED_FIXTURE, stacklevel=2)
E   pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect
E   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function

https://github.com/PEtab-dev/libpetab-python/actions/runs/7691314124/job/20956434711