| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/tests/io/xml/ |
Upload File : |
from pathlib import Path
import pytest
@pytest.fixture
def xml_data_path():
return Path(__file__).parent.parent / "data" / "xml"
@pytest.fixture
def xml_books(xml_data_path, datapath):
return datapath(xml_data_path / "books.xml")
@pytest.fixture
def xml_doc_ch_utf(xml_data_path, datapath):
return datapath(xml_data_path / "doc_ch_utf.xml")
@pytest.fixture
def xml_baby_names(xml_data_path, datapath):
return datapath(xml_data_path / "baby_names.xml")
@pytest.fixture
def kml_cta_rail_lines(xml_data_path, datapath):
return datapath(xml_data_path / "cta_rail_lines.kml")
@pytest.fixture
def xsl_flatten_doc(xml_data_path, datapath):
return datapath(xml_data_path / "flatten_doc.xsl")
@pytest.fixture
def xsl_row_field_output(xml_data_path, datapath):
return datapath(xml_data_path / "row_field_output.xsl")