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 243a376 commit ee26418Copy full SHA for ee26418
tests/test_modelchain.py
@@ -304,8 +304,9 @@ def test_run_model(self):
304
305
# Test weather dictionary with numpy.arrays
306
test_mc.run_model(weather_arr, data_height)
307
- power_output_exp = [567683.924536, 1485556.964347] # TODO: Output should be np.array
+ power_output_exp = np.array([567683.924536, 1485556.964347])
308
assert_allclose(test_mc.power_output, power_output_exp)
309
+ assert isinstance(test_mc.power_output, np.ndarray)
310
311
# Raise ValueErrors due to wrong spelling of parameters
312
with pytest.raises(ValueError):
0 commit comments