We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74a992 commit b896226Copy full SHA for b896226
tests/test_simulate.py
@@ -55,7 +55,10 @@ def test_remove_working_dir(petab_problem):
55
assert Path(simulator.working_dir).is_dir()
56
# A user-specified working directory should not be removed unless
57
# `force=True`.
58
- simulator.remove_working_dir()
+ with pytest.warns(
59
+ UserWarning, match="working directories are not removed"
60
+ ):
61
+ simulator.remove_working_dir()
62
# The user-specified working directory is not removed without `force=True`
63
64
simulator.remove_working_dir(force=True)
0 commit comments