diff --git a/src/Mod/Fem/femtest/testmesh.py b/src/Mod/Fem/femtest/testmesh.py index 1d7f1cf9f2..14f9e54d6d 100644 --- a/src/Mod/Fem/femtest/testmesh.py +++ b/src/Mod/Fem/femtest/testmesh.py @@ -470,9 +470,8 @@ class TestMeshEleTetra10(unittest.TestCase): # femmesh_testfile = Fem.read(outfile) # read the mesh from written mesh # femmesh_outfile = Fem.read(testfile) # read the mesh from test mesh # directly use Python methods to read and write files - ''' from feminout.importYamlJsonMesh import write - write(self.femmesh, outfile) + write(outfile, self.femmesh) from feminout.importYamlJsonMesh import read femmesh_testfile = read(outfile) femmesh_outfile = read(testfile) @@ -482,7 +481,6 @@ class TestMeshEleTetra10(unittest.TestCase): femmesh_outfile, file_extension ) - ''' # ******************************************************************************************** def test_tetra10_z88(