Skip to content

Commit

Permalink
Removed standalone from XML file as there is no DTD.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Feb 24, 2024
1 parent 0a9c22d commit eed288d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyEDAA/Reports/Unittesting/JUnit.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def Write(self, path: Nullable[Path] = None, overwrite: bool = False, regenerate
raise ex

with path.open("w") as file:
self._xmlDocument.writexml(file, addindent="\t", encoding="utf-8", standalone=True, newl="\n")
self._xmlDocument.writexml(file, addindent="\t", encoding="utf-8", newl="\n")

def Parse(self) -> None:
if self._xmlDocument is None:
Expand Down
8 changes: 4 additions & 4 deletions pyEDAA/Reports/Unittesting/OSVVM.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
# ==================================================================================================================== #
#
"""Reader for OSVVM test report summary files in YAML format."""
from datetime import timedelta, datetime
from datetime import timedelta, datetime
from pathlib import Path
from time import perf_counter_ns
from typing import Dict, Optional as Nullable
from time import perf_counter_ns
from typing import Optional as Nullable

from ruamel.yaml import YAML
from pyTooling.Decorators import export, notimplemented
Expand Down Expand Up @@ -114,7 +114,7 @@ def Write(self, path: Nullable[Path] = None, overwrite: bool = False) -> None:
raise ex

# with path.open("w") as file:
# self._yamlDocument.writexml(file, addindent="\t", encoding="utf-8", standalone=True, newl="\n")
# self._yamlDocument.writexml(file, addindent="\t", encoding="utf-8", newl="\n")

def Parse(self) -> None:
if self._yamlDocument is None:
Expand Down

0 comments on commit eed288d

Please sign in to comment.