diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
commit | 78444f4c06df6a634fa67dd99ee7c07b6b633d9e (patch) | |
tree | 4651930bc1ec5449e408c347b2d660522f8ac9e4 /tests/test_xml.py | |
parent | d4339ee90c3146f370d572cbb1b9ab9907daafad (diff) | |
download | python-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz |
style: use good style for annotated defaults parameters
Diffstat (limited to 'tests/test_xml.py')
-rw-r--r-- | tests/test_xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xml.py b/tests/test_xml.py index a6a15281..005f9d5a 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -37,7 +37,7 @@ class XmlTestHelpers(CoverageTest): self.start_import_stop(cov, "main") return cov - def make_tree(self, width: int, depth: int, curdir: str=".") -> None: + def make_tree(self, width: int, depth: int, curdir: str = ".") -> None: """Make a tree of packages. Makes `width` directories, named d0 .. d{width-1}. Each directory has @@ -457,7 +457,7 @@ class XmlPackageStructureTest(XmlTestHelpers, CoverageTest): assert [elt.text for elt in elts] == ["src"] -def compare_xml(expected: str, actual: str, actual_extra: bool=False) -> None: +def compare_xml(expected: str, actual: str, actual_extra: bool = False) -> None: """Specialized compare function for our XML files.""" source_path = coverage.files.relative_directory().rstrip(r"\/") |