Skip to content

Commit fa5976e

Browse files
Backport PR pandas-dev#39193: CI: Set xfail to strict=False for network tests (pandas-dev#39200)
Co-authored-by: patrick <[email protected]>
1 parent 032c01e commit fa5976e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/parser/test_network.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_read_s3_fails(self, s3so):
208208
with pytest.raises(IOError):
209209
read_csv("s3://cant_get_it/file.csv")
210210

211-
@pytest.mark.xfail(reason="GH#39155 s3fs upgrade")
211+
@pytest.mark.xfail(reason="GH#39155 s3fs upgrade", strict=False)
212212
def test_write_s3_csv_fails(self, tips_df, s3so):
213213
# GH 32486
214214
# Attempting to write to an invalid S3 path should raise
@@ -224,7 +224,7 @@ def test_write_s3_csv_fails(self, tips_df, s3so):
224224
"s3://an_s3_bucket_data_doesnt_exit/not_real.csv", storage_options=s3so
225225
)
226226

227-
@pytest.mark.xfail(reason="GH#39155 s3fs upgrade")
227+
@pytest.mark.xfail(reason="GH#39155 s3fs upgrade", strict=False)
228228
@td.skip_if_no("pyarrow")
229229
def test_write_s3_parquet_fails(self, tips_df, s3so):
230230
# GH 27679

0 commit comments

Comments
 (0)