Add assertions around memory_diff in test_pybuffer_doesnot_leak_memory
This commit is contained in:
parent
89b7c7e309
commit
681996da38
|
@ -34,5 +34,5 @@ def test_pybuffer_doesnot_leak_memory():
|
|||
for i in range(N):
|
||||
extractor.to_str(message_s)
|
||||
|
||||
memory_diff(to_vec) == 0
|
||||
memory_diff(to_str) == 0
|
||||
assert memory_diff(to_vec) == 0
|
||||
assert memory_diff(to_str) == 0
|
||||
|
|
Loading…
Reference in New Issue