mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[Test] Avoid possible error overwriting existing file
This commit is contained in:
parent
74340f8e03
commit
2928a4e66d
@ -1287,6 +1287,7 @@ class TestDiffusionFlame:
|
||||
|
||||
# Test - Check if the parameters are saved and restored correctly
|
||||
filename = self.test_work_path / "two_point_control.yaml"
|
||||
filename.unlink(missing_ok=True)
|
||||
|
||||
original_settings = sim.flame.settings['continuation-method']
|
||||
sim.save(filename)
|
||||
|
Loading…
Reference in New Issue
Block a user