In Python 3.12 xml.etree.ElementTree will raise DeprecationWarning: Testing an element's truth value will raise an exception in future versions #2453
Labels
bug
Something isn't working
help wanted
Extra attention is needed / contributions welcome
tests
pytest
While testing Python 3.12 in CI
pyhf/tests/test_export.py
Lines 438 to 450 in adddb07
raised
This comes from python/cpython#83122 which landed in Python 3.12. This should get fixed before Python 3.12 support is added.
From the Python 3.12 docs: https://docs.python.org/3.12/library/xml.etree.elementtree.html#element-objects
The text was updated successfully, but these errors were encountered: