Skip to content

Commit b24411c

Browse files
authored
Fix pytest config for new pytest 9.0 release (#2596)
* adapt pytest config to work with pytest 9.0 * whatsnew
1 parent b16cecf commit b24411c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/sphinx/source/whatsnew/v0.13.2.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Documentation
5353

5454
Testing
5555
~~~~~~~
56+
* Update pytest configuration in ``pyproject.toml`` to work with pytest 9.0.
57+
(:pull:`2596`)
5658

5759

5860
Benchmarking

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ pvlib = ["data/*"]
9999

100100
[tool.pytest]
101101
junit_family = "xunit2"
102-
testpaths = "tests"
102+
testpaths = [
103+
"tests"
104+
]
103105
# warning messages to suppress from pytest output. useful in cases
104106
# where a dependency hasn't addressed a deprecation yet, and there's
105107
# nothing we can do to fix it ourselves.

0 commit comments

Comments
 (0)