diff --git a/support/testing/tests/package/sample_python_scipy.py b/support/testing/tests/package/sample_python_scipy.py index df0c7ce5fe..d36f2273e7 100644 --- a/support/testing/tests/package/sample_python_scipy.py +++ b/support/testing/tests/package/sample_python_scipy.py @@ -1,4 +1,5 @@ import numpy +import scipy.io import scipy.special import scipy.integrate @@ -10,3 +11,6 @@ assert(com == 15.0) t = scipy.integrate.trapezoid([5,8,10]) assert(t == 15.5) + +mdic = {"t": t, "label": "example"} +scipy.io.savemat("example.mat", mdic)