Skip to content

Commit

Permalink
why is always the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
echedey-ls committed Feb 10, 2024
1 parent 0128477 commit c8e4e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pvlib/tests/test_irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,8 @@ def test_ghi_from_poa_driesse():
xtol = -3.14159 # negative value raises exception in scipy.optimize.bisect
with pytest.raises(
ValueError,
match=re.escape("xtol too small (%g <= 0)" % xtol)):
match=re.escape("xtol too small (%g <= 0)" % xtol)
):
output = irradiance.ghi_from_poa_driesse_2023(
surface_tilt, surface_azimuth, zenith, azimuth,
poa_global, dni_extra=1366.1, xtol=xtol)
Expand Down

0 comments on commit c8e4e18

Please sign in to comment.