File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def test_mdpa_write_comparison_1(self):
103103 mesh_points = mdpa_handler .parse (infilename )
104104 mdpa_handler .write (mesh_points , outfilename )
105105 self .assertTrue (filecmp .cmp (outfilename , outfilename_expected ))
106- # self.addCleanup(os.remove, outfilename)
106+ self .addCleanup (os .remove , outfilename )
107107
108108 def test_mdpa_write_comparison_2 (self ):
109109 infilename = 'tests/test_datasets/test_square.mdpa'
@@ -117,6 +117,6 @@ def test_mdpa_write_comparison_2(self):
117117 mesh_points [45 ][0 ] = 7.2
118118 mesh_points [132 ][1 ] = - 1.2
119119 mesh_points [255 ][2 ] = - 3.6
120- # mdpa_handler.write(mesh_points, outfilename)
121- # self.assertTrue(filecmp.cmp(outfilename, outfilename_expected))
122- # self.addCleanup(os.remove, outfilename)
120+ mdpa_handler .write (mesh_points , outfilename )
121+ self .assertTrue (filecmp .cmp (outfilename , outfilename_expected ))
122+ self .addCleanup (os .remove , outfilename )
You can’t perform that action at this time.
0 commit comments