Skip to content

Commit 336fba7

Browse files
committed
TST: #20720
xfail problematic s3 / moto tests
1 parent 669d9b2 commit 336fba7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pandas/tests/io/parser/test_network.py

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def test_read_csv_handles_boto_s3_object(self,
183183
expected = read_csv(tips_file)
184184
tm.assert_frame_equal(result, expected)
185185

186+
@pytest.mark.xfail(reason="buggy s3 / moto interaction on CI: gh-20720")
186187
def test_read_csv_chunked_download(self, s3_resource, caplog):
187188
# 8 MB, S3FS usees 5MB chunks
188189
df = DataFrame(np.random.randn(100000, 4), columns=list('abcd'))

pandas/tests/io/test_parquet.py

+2
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ def test_categorical_unsupported(self, pa_lt_070):
432432
df = pd.DataFrame({'a': pd.Categorical(list('abc'))})
433433
self.check_error_on_write(df, pa, NotImplementedError)
434434

435+
@pytest.mark.xfail(reason="buggy s3 / moto interaction on CI: gh-20720")
435436
def test_s3_roundtrip(self, df_compat, s3_resource, pa):
436437
# GH #19134
437438
check_round_trip(df_compat, pa,
@@ -498,6 +499,7 @@ def test_filter_row_groups(self, fp):
498499
result = read_parquet(path, fp, filters=[('a', '==', 0)])
499500
assert len(result) == 1
500501

502+
@pytest.mark.xfail(reason="buggy s3 / moto interaction on CI: gh-20720")
501503
def test_s3_roundtrip(self, df_compat, s3_resource, fp):
502504
# GH #19134
503505
check_round_trip(df_compat, fp,

0 commit comments

Comments
 (0)