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

Commit 091bac3

Browse files
committed
added test
1 parent f7af81a commit 091bac3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

test/test_unit.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,3 +888,13 @@ def test_fam_array_get_any_a3():
888888

889889
post2 = fam.get_any(np.array(["bbb", "bbb"]))
890890
assert post2 == []
891+
892+
893+
def test_fam_array_get_any_b():
894+
a1 = np.array([4294967295], dtype=np.uint32)
895+
a1.flags.writeable = False
896+
a1_list = list(a1)
897+
fam = FrozenAutoMap(a1)
898+
899+
post1 = fam.get_any(a1_list)
900+
assert post1 == list(fam.values())

0 commit comments

Comments
 (0)