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 fe41b99 commit 8906e8fCopy full SHA for 8906e8f
pydra/engine/tests/test_helpers.py
@@ -209,8 +209,8 @@ def test_load_and_run_exception_run(tmpdir):
209
exc_msg = excinfo.value.args[0]
210
assert "i'm raising an exception!" in exc_msg
211
# checking if the crashfile has been created
212
- assert "crash" in exc_msg
213
- errorfile = Path(exc_msg.split("here: ")[1][:-2])
+ assert "crash" in excinfo.value.__notes__[0]
+ errorfile = Path(excinfo.value.__notes__[0].split("here: ")[1])
214
assert errorfile.exists()
215
216
resultfile = errorfile.parent / "_result.pklz"
0 commit comments