Skip to content

Commit 78786fb

Browse files
committed
f - [test_ModelicaSystem.py] needed changes due to update of output / continuous data handling
1 parent 32515f6 commit 78786fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_ModelicaSystemOMC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def test_getters(tmp_path):
390390
assert np.isclose(d["y"], dx_analytical, 1e-4)
391391
assert mod.getOutputs("y") == [d["y"]]
392392
assert mod.getOutputs(["y", "y"]) == [d["y"], d["y"]]
393-
with pytest.raises(OMPython.ModelicaSystemError):
393+
with pytest.raises(KeyError):
394394
mod.getOutputs("thisOutputDoesNotExist")
395395

396396
# getContinuous after simulate() should return values at end of simulation:

0 commit comments

Comments
 (0)