We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057e3aa commit 901111aCopy full SHA for 901111a
twoaxistracking/tests/test_twoaxistrackerfield.py
@@ -197,4 +197,4 @@ def test_calculation_of_shaded_fraction_float(rectangular_geometry, solar_positi
197
# Test that calculated shaded fraction are equal or both nan
198
# using np.isclose(np.nan, np.nan) does not identify
199
assert result == 0
200
- assert isinstance(result, np.ndarray)
+ assert np.isscalar(result)
0 commit comments