From: Debian Science Team Date: Fri, 3 Apr 2020 20:56:02 +0000 (+0100) Subject: Xfail tests using non-functioning URLs X-Git-Tag: archive/raspbian/0.25.3+dfsg2-2+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3e6c7851e2a68855b59547dd3fb72776442fdcee;p=pandas.git Xfail tests using non-functioning URLs Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_tests_404.patch --- diff --git a/pandas/tests/io/excel/test_readers.py b/pandas/tests/io/excel/test_readers.py index a39cface..45db5ff9 100644 --- a/pandas/tests/io/excel/test_readers.py +++ b/pandas/tests/io/excel/test_readers.py @@ -499,6 +499,7 @@ class TestReaders: pd.read_excel("", engine=bad_engine) @tm.network + @pytest.mark.xfail(condition=True,reason="404 URL",strict=False) def test_read_from_http_url(self, read_ext): if read_ext == ".ods": # TODO: remove once on master pytest.skip() diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 72e5c1c2..ec645f6a 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -132,6 +132,7 @@ class TestReadHtml: assert_framelist_equal(df1, df2) @network + @pytest.mark.xfail(condition=True,reason="404 URL",strict=False) def test_spam_url(self): url = ( "https://raw.githubusercontent.com/pandas-dev/pandas/master/"