OpenSCAD: fix utility_create_scad by changing currently working directory so that test_import_surface doesn't fail any more

This commit is contained in:
wmayer
2021-03-17 11:59:14 +01:00
parent 0581409fbe
commit 9a105e3405

View File

@@ -201,6 +201,7 @@ polyhedron(
f = open(filename,"w+")
f.write(scadCode)
f.close()
os.chdir(temp_dir)
return importCSG.open(filename)
def test_import_difference(self):