We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abcd227 commit bd2b598Copy full SHA for bd2b598
pandas/tests/tools/test_to_datetime.py
@@ -3793,8 +3793,7 @@ def test_to_datetime_wrapped_datetime64_ps():
3793
3794
3795
def test_to_datetime_lxml_elementunicoderesult_with_format(cache):
3796
- pytest.importorskip("lxml")
3797
- from lxml import etree # pyright: ignore[reportMissingImports]
+ etree = pytest.importorskip("lxml.etree")
3798
3799
s = "2025-02-05 16:59:57"
3800
node = etree.XML(f"<date>{s}</date>")
0 commit comments