Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit 9c19346

Browse files
committed
add lookups before get_any
1 parent 244deba commit 9c19346

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/test_unit.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -925,14 +925,13 @@ def test_fam_array_get_any_b():
925925
a1.flags.writeable = False
926926
a1_list = list(a1)
927927
import sys
928-
print(4294967295, a1, a1_list, file=sys.stderr)
928+
print(a1, a1_list, file=sys.stderr)
929929
fam = FrozenAutoMap(a1)
930+
assert a1[0] in fam
931+
assert 4294967295 in fam
930932

931933
post1 = fam.get_any(a1_list)
932-
933934
assert post1 == list(fam.values())
934-
assert a1[0] in fam
935-
assert 4294967295 in fam
936935

937936

938937
def test_fam_array_get_any_c1():

0 commit comments

Comments
 (0)