@@ -134,6 +134,7 @@ def test_to_html_compat(self):
134
134
res = self .read_html (out , attrs = {"class" : "dataframe" }, index_col = 0 )[0 ]
135
135
tm .assert_frame_equal (res , df )
136
136
137
+ @pytest .mark .network
137
138
@tm .network
138
139
def test_banklist_url_positional_match (self ):
139
140
url = "http://www.fdic.gov/resources/resolutions/bank-failures/failed-bank-list/index.html" # noqa E501
@@ -153,6 +154,7 @@ def test_banklist_url_positional_match(self):
153
154
154
155
assert_framelist_equal (df1 , df2 )
155
156
157
+ @pytest .mark .network
156
158
@tm .network
157
159
def test_banklist_url (self ):
158
160
url = "http://www.fdic.gov/resources/resolutions/bank-failures/failed-bank-list/index.html" # noqa E501
@@ -169,6 +171,7 @@ def test_banklist_url(self):
169
171
170
172
assert_framelist_equal (df1 , df2 )
171
173
174
+ @pytest .mark .network
172
175
@tm .network
173
176
def test_spam_url (self ):
174
177
url = (
@@ -313,13 +316,15 @@ def test_file_like(self, spam_data):
313
316
314
317
assert_framelist_equal (df1 , df2 )
315
318
319
+ @pytest .mark .network
316
320
@tm .network
317
321
def test_bad_url_protocol (self ):
318
322
with pytest .raises (URLError , match = "urlopen error unknown url type: git" ):
319
323
self .read_html ("git://github.com" , match = ".*Water.*" )
320
324
321
- @tm .network
322
325
@pytest .mark .slow
326
+ @pytest .mark .network
327
+ @tm .network
323
328
def test_invalid_url (self ):
324
329
msg = (
325
330
"Name or service not known|Temporary failure in name resolution|"
@@ -402,12 +407,14 @@ def test_negative_skiprows(self, spam_data):
402
407
with pytest .raises (ValueError , match = msg ):
403
408
self .read_html (spam_data , match = "Water" , skiprows = - 1 )
404
409
410
+ @pytest .mark .network
405
411
@tm .network
406
412
def test_multiple_matches (self ):
407
413
url = "https://docs.python.org/2/"
408
414
dfs = self .read_html (url , match = "Python" )
409
415
assert len (dfs ) > 1
410
416
417
+ @pytest .mark .network
411
418
@tm .network
412
419
def test_python_docs_table (self ):
413
420
url = "https://docs.python.org/2/"
0 commit comments