Skip to content

Commit

Permalink
Fix expectation when testing readinto
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Apr 13, 2024
1 parent 7f3cf4d commit a8112f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/tests/test_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_sync_reader(service_name, operator, async_operator):
buf = bytearray(1)
with operator.open(filename, 'rb') as reader:
reader.readinto(buf)
assert buf == content
assert buf == content[:1]

operator.delete(filename)

Expand Down

0 comments on commit a8112f5

Please sign in to comment.