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