Skip to content

Avoid null-characters in junitxml output #37

Closed
@pytestbot

Description

@pytestbot

Originally reported by: Floris Bruynooghe (BitBucket: flub, GitHub: flub)


It appears that at least Jenkins' XML parser does not like null-characters to appear in the JUnit XML file. To avoid this I've created a patch which simply removes any null characters from the XML file written by junitxml.

https://bitbucket.org/flub/pytest-queue/src/tip/junitxml_nullchar

If there is a consensus that this is indeed a bug in pytest and the correct way to fix I can commit this.


Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions