Commit 23a6ad63 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Better message for memory leaks errors

parent 9b69a811
Pipeline #39661 passed with stage
in 4 minutes and 52 seconds
......@@ -123,7 +123,7 @@ def test_memory_leak():
first = psutil.virtual_memory().used
last = psutil.virtual_memory().used
assert (last - first) / first < 0.1, "Looks like we have a memory leak!"
assert (last - first) / first < 0.1, f"Looks like we have a memory leak! first:{first} last:{last}"
def test_open_file_leak():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment