Debian Patches

Status for pyjunitxml/0.7-2

Patch Description Author Forwarded Bugs Origin Last update
ftbfs-802124.patch fix test suite failure with Python 3.5
The referenced test case classes reside inside test methods of an outer test
case class. In older versions of Python they were simply qualified with the
module. Since Python 3.5, their full name includes the outer class, the outer
method name and the part "<locals>". Thus we are seeing class names such as
"junitxml.tests.test_junitxml.TestJUnitXmlResult.test_erroring_test.<locals>.Errors"
where pyjunitxml expected just "junitxml.tests.test_junitxml.Errors".

We opt for stripping the class qualification in the central get_output method.
Helmut Grohne <h.grohne@intenta.de> no 2017-07-26

All known versions for source package 'pyjunitxml'

Links