Skip to content

Commit 6ebfb57

Browse files
committed
flake8
1 parent 5cc439f commit 6ebfb57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def test_ghi_from_poa_driesse(mocker):
828828
poa_global = pd.Series([20, 300, 1000], index=times)
829829
# test exception
830830
xtol = -3.14159 # negative value raises exception in scipy.optimize.bisect
831-
with pytest.raises(ValueError, match=rf"xtol too small \({xtol:g} <= 0\)"):
831+
with pytest.raises(ValueError, match=rf"xtol too small \({xtol} <= 0\)"):
832832
output = irradiance.ghi_from_poa_driesse_2024(
833833
surface_tilt, surface_azimuth, zenith, azimuth,
834834
poa_global, dni_extra=1366.1, xtol=xtol)

0 commit comments

Comments
 (0)