Skip to content

Commit 754c66f

Browse files
committed
Reword test comments
1 parent 0de1c38 commit 754c66f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎python/pyarrow/tests/test_fs.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def test_open_output_stream_abort(fs, pathfn, compression, buffer_size):
11601160
f.abort()
11611161
assert f.closed
11621162

1163-
# Other filesystems may keep the written data, so only these are checked
1163+
# Note that only S3 discards the written data on abort for now
11641164
if fs.type_name == 's3':
11651165
assert fs.get_file_info(p).type == FileType.NotFound
11661166
elif 'mock' in fs.type_name:
@@ -1201,7 +1201,6 @@ def test_s3_output_stream_failed_abort(s3_server):
12011201
f.abort()
12021202
assert f.closed
12031203

1204-
# Neither closing nor destroying the stream completes the upload
12051204
del f
12061205
assert fs.get_file_info(p).type == FileType.NotFound
12071206

0 commit comments

Comments
 (0)