diff --git a/docs/sphinx/source/whatsnew/v0.13.2.rst b/docs/sphinx/source/whatsnew/v0.13.2.rst index 3f9827ad2d..754350d741 100644 --- a/docs/sphinx/source/whatsnew/v0.13.2.rst +++ b/docs/sphinx/source/whatsnew/v0.13.2.rst @@ -53,6 +53,8 @@ Documentation Testing ~~~~~~~ +* Update pytest configuration in ``pyproject.toml`` to work with pytest 9.0. + (:pull:`2596`) Benchmarking diff --git a/pyproject.toml b/pyproject.toml index 00ff4460aa..406551680d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,7 +99,9 @@ pvlib = ["data/*"] [tool.pytest] junit_family = "xunit2" -testpaths = "tests" +testpaths = [ + "tests" +] # warning messages to suppress from pytest output. useful in cases # where a dependency hasn't addressed a deprecation yet, and there's # nothing we can do to fix it ourselves.