junitparser 4.0.0__tar.gz → 4.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {junitparser-4.0.0/junitparser.egg-info → junitparser-4.0.1}/PKG-INFO +1 -1
  2. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/__init__.py +1 -1
  3. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/junitparser.py +1 -1
  4. {junitparser-4.0.0 → junitparser-4.0.1/junitparser.egg-info}/PKG-INFO +1 -1
  5. {junitparser-4.0.0 → junitparser-4.0.1}/LICENSE +0 -0
  6. {junitparser-4.0.0 → junitparser-4.0.1}/MANIFEST.in +0 -0
  7. {junitparser-4.0.0 → junitparser-4.0.1}/README.rst +0 -0
  8. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/__main__.py +0 -0
  9. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/cli.py +0 -0
  10. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/py.typed +0 -0
  11. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser/xunit2.py +0 -0
  12. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser.egg-info/SOURCES.txt +0 -0
  13. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser.egg-info/dependency_links.txt +0 -0
  14. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser.egg-info/entry_points.txt +0 -0
  15. {junitparser-4.0.0 → junitparser-4.0.1}/junitparser.egg-info/top_level.txt +0 -0
  16. {junitparser-4.0.0 → junitparser-4.0.1}/pyproject.toml +0 -0
  17. {junitparser-4.0.0 → junitparser-4.0.1}/setup.cfg +0 -0
  18. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/jenkins.xml +0 -0
  19. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/no_fails.xml +0 -0
  20. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/no_suites_tag.xml +0 -0
  21. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/normal.xml +0 -0
  22. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/pytest_error.xml +0 -0
  23. {junitparser-4.0.0 → junitparser-4.0.1}/tests/data/pytest_success.xml +0 -0
  24. {junitparser-4.0.0 → junitparser-4.0.1}/tests/test_cli.py +0 -0
  25. {junitparser-4.0.0 → junitparser-4.0.1}/tests/test_fromfile.py +0 -0
  26. {junitparser-4.0.0 → junitparser-4.0.1}/tests/test_general.py +0 -0
  27. {junitparser-4.0.0 → junitparser-4.0.1}/tests/test_write.py +0 -0
  28. {junitparser-4.0.0 → junitparser-4.0.1}/tests/test_xunit2.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: junitparser
3
- Version: 4.0.0
3
+ Version: 4.0.1
4
4
  Summary: Manipulates JUnit/xUnit Result XML files
5
5
  Author-email: Weiwei Wang <gastlygem@gmail.com>
6
6
  License: Apache-2.0
@@ -16,7 +16,7 @@ from .junitparser import (
16
16
  TestSuite,
17
17
  )
18
18
 
19
- version = "4.0.0"
19
+ version = "4.0.1"
20
20
 
21
21
  __all__ = [
22
22
  "Attr",
@@ -33,7 +33,7 @@ def write_xml(obj, file_or_filename: Optional[Union[str, IO]] = None, *, pretty:
33
33
  xml = parseString(text) # nosec
34
34
  content = xml.toprettyxml(encoding="utf-8")
35
35
  if isinstance(file_or_filename, str):
36
- with open(file_or_filename, encoding="utf-8", mode="wb") as xmlfile:
36
+ with open(file_or_filename, mode="wb") as xmlfile:
37
37
  xmlfile.write(content)
38
38
  else:
39
39
  if isinstance(file_or_filename, io.TextIOWrapper):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: junitparser
3
- Version: 4.0.0
3
+ Version: 4.0.1
4
4
  Summary: Manipulates JUnit/xUnit Result XML files
5
5
  Author-email: Weiwei Wang <gastlygem@gmail.com>
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes