Skip to content

Commit 901111a

Browse files
committed
Update scalar test
1 parent 057e3aa commit 901111a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twoaxistracking/tests/test_twoaxistrackerfield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ def test_calculation_of_shaded_fraction_float(rectangular_geometry, solar_positi
197197
# Test that calculated shaded fraction are equal or both nan
198198
# using np.isclose(np.nan, np.nan) does not identify
199199
assert result == 0
200-
assert isinstance(result, np.ndarray)
200+
assert np.isscalar(result)

0 commit comments

Comments
 (0)