Skip to content

Commit

Permalink
fudge it
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Dec 17, 2024
1 parent 9d3a49e commit 4541c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s3fs/tests/test_s3fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,11 +1288,11 @@ def test_write_blocks(s3):
f.write(b"a" * 2 * 2**20)
assert f.mpu
assert f.parts
assert s3.info(test_bucket_name + "/temp")["size"] == 6 * 2**20
with s3.open(test_bucket_name + "/temp", "wb", block_size=10 * 2**20) as f:
assert s3.info(test_bucket_name + "/temp2")["size"] == 6 * 2**20
with s3.open(test_bucket_name + "/temp2", "wb", block_size=10 * 2**20) as f:
f.write(b"a" * 15 * 2**20)
assert f.buffer.tell() == 0
assert s3.info(test_bucket_name + "/temp")["size"] == 15 * 2**20
assert s3.info(test_bucket_name + "/temp2")["size"] == 15 * 2**20


def test_readline(s3):
Expand Down

0 comments on commit 4541c69

Please sign in to comment.