From 5488af063cae33a454b1f08ae91b2b12281708fd Mon Sep 17 00:00:00 2001 From: phofl Date: Wed, 13 Jan 2021 23:40:54 +0100 Subject: [PATCH 1/2] CI: Mark network test as xfail --- pandas/tests/io/parser/test_network.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index c22945e931f18..124861392fa93 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -209,6 +209,7 @@ def test_read_s3_fails(self, s3so): with pytest.raises(IOError, match=msg): read_csv("s3://cant_get_it/file.csv") + @pytest.mark.xfail(reason="GH#39155 s3fs upgrade") def test_write_s3_csv_fails(self, tips_df, s3so): # GH 32486 # Attempting to write to an invalid S3 path should raise From 3fc1a77d8dbe577cfe27b49ddef6d5c8d912a4ed Mon Sep 17 00:00:00 2001 From: phofl Date: Wed, 13 Jan 2021 23:51:39 +0100 Subject: [PATCH 2/2] Add another xfail --- pandas/tests/io/parser/test_network.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index 124861392fa93..8ddb860597ddd 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -225,6 +225,7 @@ def test_write_s3_csv_fails(self, tips_df, s3so): "s3://an_s3_bucket_data_doesnt_exit/not_real.csv", storage_options=s3so ) + @pytest.mark.xfail(reason="GH#39155 s3fs upgrade") @td.skip_if_no("pyarrow") def test_write_s3_parquet_fails(self, tips_df, s3so): # GH 27679