From 4541c698d1953dd8d5182f7586b298e328e8e283 Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Tue, 17 Dec 2024 15:05:47 -0500 Subject: [PATCH] fudge it --- s3fs/tests/test_s3fs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/s3fs/tests/test_s3fs.py b/s3fs/tests/test_s3fs.py index e7d11395..434086a6 100644 --- a/s3fs/tests/test_s3fs.py +++ b/s3fs/tests/test_s3fs.py @@ -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):