Test etree import error #1500
GitHub Actions / Test Results (Windows 2019 python installed)
failed
Apr 27, 2024 in 0s
1 fail, 438 pass in 14m 48s
49 files 49 suites 14m 48s ⏱️
439 tests 438 ✅ 0 💤 1 ❌
21 511 runs 20 958 ✅ 504 💤 49 ❌
Results for commit d7b34d0.
Annotations
Check warning on line 31 in python/test/test_publish.py
github-actions / Test Results (Windows 2019 python installed)
All 49 runs failed: test_etree (python.test.test_publish.PublishTest)
artifacts\Test Results (python-3.10, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, macos-14)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.10, windows-2022)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, macos-14)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.11, windows-2022)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, macos-14)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.12, windows-2022)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.7, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.7, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.7, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.8, windows-2022)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-3.9, windows-2022)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, macos-11)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, macos-12)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, macos-13)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, macos-14)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, ubuntu-20.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, ubuntu-22.04)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, windows-2019)\test-results\pytest.xml [took 0s]
artifacts\Test Results (python-installed, windows-2022)\test-results\pytest.xml [took 0s]
Raw output
TypeError: cannot parse from 'NoneType'
self = <test_publish.PublishTest testMethod=test_etree>
def test_etree(self):
from lxml import etree
> etree.parse(None)
test_publish.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/lxml/etree.pyx:3547: in lxml.etree.parse
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E TypeError: cannot parse from 'NoneType'
src/lxml/parser.pxi:1975: TypeError