@@ -11,7 +11,7 @@ def xml_data_path():
1111 Examples
1212 --------
1313 >>> def test_read_xml(xml_data_path):
14- ... read_xml(xml_data_path / "file.xsl")
14+ ... pd. read_xml(xml_data_path / "file.xsl")
1515 """
1616 return Path (__file__ ).parent .parent / "data" / "xml"
1717
@@ -24,7 +24,7 @@ def xml_books(xml_data_path, datapath):
2424 Examples
2525 --------
2626 >>> def test_read_xml(xml_books):
27- ... read_xml(xml_books)
27+ ... pd. read_xml(xml_books)
2828 """
2929 return datapath (xml_data_path / "books.xml" )
3030
@@ -37,7 +37,7 @@ def xml_doc_ch_utf(xml_data_path, datapath):
3737 Examples
3838 --------
3939 >>> def test_read_xml(xml_doc_ch_utf):
40- ... read_xml(xml_doc_ch_utf)
40+ ... pd. read_xml(xml_doc_ch_utf)
4141 """
4242 return datapath (xml_data_path / "doc_ch_utf.xml" )
4343
@@ -50,7 +50,7 @@ def xml_baby_names(xml_data_path, datapath):
5050 Examples
5151 --------
5252 >>> def test_read_xml(xml_baby_names):
53- ... read_xml(xml_baby_names)
53+ ... pd. read_xml(xml_baby_names)
5454 """
5555 return datapath (xml_data_path / "baby_names.xml" )
5656
@@ -63,7 +63,7 @@ def kml_cta_rail_lines(xml_data_path, datapath):
6363 Examples
6464 --------
6565 >>> def test_read_xml(kml_cta_rail_lines):
66- ... read_xml(
66+ ... pd. read_xml(
6767 ... kml_cta_rail_lines,
6868 ... xpath=".//k:Placemark",
6969 ... namespaces={"k": "http://www.opengis.net/kml/2.2"},
@@ -80,7 +80,7 @@ def xsl_flatten_doc(xml_data_path, datapath):
8080
8181 Examples
8282 --------
83- >>> def test_read_xsl(xsl_flatten_doc):
83+ >>> def test_read_xsl(xsl_flatten_doc, mode ):
8484 ... with open(
8585 ... xsl_flatten_doc, mode, encoding="utf-8" if mode == "r" else None
8686 ... ) as f:
@@ -96,7 +96,7 @@ def xsl_row_field_output(xml_data_path, datapath):
9696
9797 Examples
9898 --------
99- >>> def test_read_xsl(xsl_row_field_output):
99+ >>> def test_read_xsl(xsl_row_field_output, mode ):
100100 ... with open(
101101 ... xsl_row_field_output, mode, encoding="utf-8" if mode == "r" else None
102102 ... ) as f:
0 commit comments