Add assertions around memory_diff in test_pybuffer_doesnot_leak_memory

This commit is contained in:
Samuele Maci 2019-10-06 18:50:33 +02:00
parent 89b7c7e309
commit 681996da38
1 changed files with 2 additions and 2 deletions

View File

@ -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