Closed
Description
Botocore release today changed some Errors
https://pypi.org/project/botocore/#history
______________________ TestS3.test_write_s3_parquet_fails ______________________
[gw1] linux -- Python 3.6.10 /home/travis/miniconda3/envs/pandas-dev/bin/python
self = <pandas.tests.io.parser.test_network.TestS3 object at 0x7f5e201c9080>
tips_df = total_bill tip sex smoker day time size
0 16.99 1.01 Female No Sun Dinner 2
1 ....75 Male No Sat Dinner 2
243 18.78 3.00 Female No Thur Dinner 2
[244 rows x 7 columns]
@td.skip_if_no("pyarrow")
def test_write_s3_parquet_fails(self, tips_df):
# GH 27679
with pytest.raises(
FileNotFoundError, match="The specified bucket does not exist"
):
> tips_df.to_parquet("s3://an_s3_bucket_data_doesnt_exit/not_real.parquet")
PR to follow shortly.