test: narrow expected pvlib scipy warning

This commit is contained in:
Normann
2026-08-21 02:27:09 +02:00
parent 36b36a933b
commit 7530f92541
+5
View File
@@ -161,6 +161,11 @@ testpaths = [ "tests", ]
markers = [
"docker: marks tests that require a local Docker engine"
]
filterwarnings = [
# pvlib may exercise SciPy's root solver at night/zero irradiance; the resulting
# PV output is explicitly verified as zero by integration tests.
"ignore:invalid value encountered in divide:RuntimeWarning:scipy\\.optimize\\._chandrupatla",
]
[tool.mypy]
mypy_path= "src"