Skip to content

Commit 22b7ca1

Browse files
committed
??? test old style set*() input
1 parent 5ae62f6 commit 22b7ca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests_v400/test_ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_setParameters():
3535
mod = OMPython.ModelicaSystem(model_path + "BouncingBall.mo", "BouncingBall")
3636

3737
# method 1
38-
mod.setParameters(pvals={"e": 1.234})
38+
mod.setParameters(pvals="e=1.234")
3939
mod.setParameters(pvals={"g": 321.0})
4040
assert mod.getParameters("e") == ["1.234"]
4141
assert mod.getParameters("g") == ["321.0"]

0 commit comments

Comments
 (0)