Skip to content

Commit aea19cd

Browse files
committed
fix keeping leak dump file around
1 parent f801bad commit aea19cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ def run_leak_launcher(input_args, out=None):
20152015
# rerun once with heap dumping enabled
20162016
out = mx.OutputCapture()
20172017
run_leak_launcher(["--keep-dump"] + input_args, out=out)
2018-
path = out.data.strip().split("Dump file:")[2].strip()
2018+
path = out.data.strip().partition("Dump file:")[2].strip()
20192019
if path:
20202020
save_path = os.path.join(SUITE.dir, "dumps", "leak_test")
20212021
try:

0 commit comments

Comments
 (0)