We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c66fc5 commit 06b969fCopy full SHA for 06b969f
1 file changed
bindings/Sofa/tests/Simulation/Simulation.py
@@ -21,6 +21,7 @@ def test_load(self):
21
tf = tempfile.NamedTemporaryFile(mode="w+t", suffix=".scn", delete=False)
22
tf.write(scene)
23
tf.flush()
24
+ tf.close() # need to close the file otherwise SOFA cannot open it (on Windows)
25
node = Sofa.Simulation.load(tf.name)
26
self.assertNotEqual(node, None)
27
self.assertEqual(node.name.value, "rootNode")
0 commit comments