Skip to content

Commit 6d4aa00

Browse files
committed
stickler!
1 parent 6a69804 commit 6d4aa00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pvlib/tests/test_spectrum.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,16 +223,19 @@ def test_first_solar_spectral_correction_ambiguous_both():
223223
spectrum.first_solar_spectral_correction(1, 1, 'cdte',
224224
coefficients=coeffs)
225225

226+
226227
def test_first_solar_spectral_correction_large_airmass():
227228
# test that airmass > 10 is treated same as airmass==10
228229
m_eq10 = spectrum.first_solar_spectral_correction(1, 10, 'monosi')
229230
m_gt10 = spectrum.first_solar_spectral_correction(1, 15, 'monosi')
230231
assert_allclose(m_eq10, m_gt10)
231232

233+
232234
def test_first_solar_spectral_correction_low_airmass():
233235
with pytest.warns(UserWarning, match='Exceptionally low air mass'):
234236
_ = spectrum.first_solar_spectral_correction(1, 0.1, 'monosi')
235237

238+
236239
def test_first_solar_spectral_correction_range():
237240
with pytest.warns(UserWarning, match='Exceptionally high pw values'):
238241
out = spectrum.first_solar_spectral_correction(np.array([.1, 3, 10]),

0 commit comments

Comments
 (0)