@@ -11,7 +11,7 @@ def xml_data_path():
11
11
Examples
12
12
--------
13
13
>>> def test_read_xml(xml_data_path):
14
- ... read_xml(xml_data_path / "file.xsl")
14
+ ... pd. read_xml(xml_data_path / "file.xsl")
15
15
"""
16
16
return Path (__file__ ).parent .parent / "data" / "xml"
17
17
@@ -24,7 +24,7 @@ def xml_books(xml_data_path, datapath):
24
24
Examples
25
25
--------
26
26
>>> def test_read_xml(xml_books):
27
- ... read_xml(xml_books)
27
+ ... pd. read_xml(xml_books)
28
28
"""
29
29
return datapath (xml_data_path / "books.xml" )
30
30
@@ -37,7 +37,7 @@ def xml_doc_ch_utf(xml_data_path, datapath):
37
37
Examples
38
38
--------
39
39
>>> def test_read_xml(xml_doc_ch_utf):
40
- ... read_xml(xml_doc_ch_utf)
40
+ ... pd. read_xml(xml_doc_ch_utf)
41
41
"""
42
42
return datapath (xml_data_path / "doc_ch_utf.xml" )
43
43
@@ -50,7 +50,7 @@ def xml_baby_names(xml_data_path, datapath):
50
50
Examples
51
51
--------
52
52
>>> def test_read_xml(xml_baby_names):
53
- ... read_xml(xml_baby_names)
53
+ ... pd. read_xml(xml_baby_names)
54
54
"""
55
55
return datapath (xml_data_path / "baby_names.xml" )
56
56
@@ -63,7 +63,7 @@ def kml_cta_rail_lines(xml_data_path, datapath):
63
63
Examples
64
64
--------
65
65
>>> def test_read_xml(kml_cta_rail_lines):
66
- ... read_xml(
66
+ ... pd. read_xml(
67
67
... kml_cta_rail_lines,
68
68
... xpath=".//k:Placemark",
69
69
... namespaces={"k": "http://www.opengis.net/kml/2.2"},
@@ -80,7 +80,7 @@ def xsl_flatten_doc(xml_data_path, datapath):
80
80
81
81
Examples
82
82
--------
83
- >>> def test_read_xsl(xsl_flatten_doc):
83
+ >>> def test_read_xsl(xsl_flatten_doc, mode ):
84
84
... with open(
85
85
... xsl_flatten_doc, mode, encoding="utf-8" if mode == "r" else None
86
86
... ) as f:
@@ -96,7 +96,7 @@ def xsl_row_field_output(xml_data_path, datapath):
96
96
97
97
Examples
98
98
--------
99
- >>> def test_read_xsl(xsl_row_field_output):
99
+ >>> def test_read_xsl(xsl_row_field_output, mode ):
100
100
... with open(
101
101
... xsl_row_field_output, mode, encoding="utf-8" if mode == "r" else None
102
102
... ) as f:
0 commit comments