Xfail tests using non-functioning URLs
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_tests_404.patch

pandas/tests/io/excel/test_readers.py
pandas/tests/io/test_html.py

index a39cface0e01574e38f70167bcda58b11275c9cb..45db5ff9b389e6fe30d5851cef2801f66f9f9d8f 100644 (file)
@@ -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()
index 72e5c1c2433db84860f17d6f747dc0c0aad162c7..ec645f6a22476d9001a45d39985649b738783806 100644 (file)
@@ -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/"