Skip to content

Commit 26bdaba

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Xfail tests using non-functioning URLs
Author: Rebecca N. Palmer <[email protected]> Forwarded: no Gbp-Pq: Name xfail_tests_404.patch
1 parent 9b7f58d commit 26bdaba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pandas/tests/io/excel/test_readers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ def test_bad_engine_raises(self, read_ext):
499499
pd.read_excel("", engine=bad_engine)
500500

501501
@tm.network
502+
@pytest.mark.xfail(condition=True,reason="404 URL",strict=False)
502503
def test_read_from_http_url(self, read_ext):
503504
if read_ext == ".ods": # TODO: remove once on master
504505
pytest.skip()

pandas/tests/io/test_html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def test_banklist_url(self):
132132
assert_framelist_equal(df1, df2)
133133

134134
@network
135+
@pytest.mark.xfail(condition=True,reason="404 URL",strict=False)
135136
def test_spam_url(self):
136137
url = (
137138
"https://raw.githubusercontent.com/pandas-dev/pandas/master/"

0 commit comments

Comments
 (0)