Skip to content

Commit

Permalink
Remove argument not present in 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Jan 28, 2025
1 parent 6e72753 commit 2372214
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ async def test_de_serialize():
message = wire.serialize(data)
assert message == expected_message
obj = wire.deserialize(message)
for o, t in zip(obj, converted_type, strict=False):
assert len(obj) == len(converted_type)
for o, t in zip(obj, converted_type):
assert isinstance(o, t)
message_np = wire.serialize(np.array(data))
assert message_np == expected_message
obj_np = wire.deserialize(message_np)
for o, t in zip(obj_np, converted_type, strict=False):
assert len(obj_np) == len(converted_type)
for o, t in zip(obj_np, converted_type):
assert isinstance(o, t)

0 comments on commit 2372214

Please sign in to comment.