diff options
author | Armin Rigo <arigo@tunes.org> | 2016-12-07 09:33:43 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-12-07 09:33:43 +0100 |
commit | b203432d6b3907fc080a7eabae6d93f3e08d4d9f (patch) | |
tree | e9317ca6a36c27a4e1f5ecba1cfe5404bb555fc5 | |
parent | 6a4703d1451960f7469402149d173fda22725e07 (diff) | |
download | cffi-b203432d6b3907fc080a7eabae6d93f3e08d4d9f.tar.gz |
fix test
-rw-r--r-- | testing/cffi1/test_ffi_obj.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/cffi1/test_ffi_obj.py b/testing/cffi1/test_ffi_obj.py index daf39bb..4415115 100644 --- a/testing/cffi1/test_ffi_obj.py +++ b/testing/cffi1/test_ffi_obj.py @@ -360,7 +360,8 @@ def test_ffi_new_allocator_2(): retries += 1 assert retries <= 5 import gc; gc.collect() - assert seen == [40, 40, raw1, raw2] + assert (seen == [40, 40, raw1, raw2] or + seen == [40, 40, raw2, raw1]) assert repr(seen[2]) == "<cdata 'char[]' owning 41 bytes>" assert repr(seen[3]) == "<cdata 'char[]' owning 41 bytes>" |