summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-01-05 20:10:24 -0500
committerNed Batchelder <ned@nedbatchelder.com>2023-01-05 20:10:24 -0500
commit78444f4c06df6a634fa67dd99ee7c07b6b633d9e (patch)
tree4651930bc1ec5449e408c347b2d660522f8ac9e4 /tests/test_api.py
parentd4339ee90c3146f370d572cbb1b9ab9907daafad (diff)
downloadpython-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz
style: use good style for annotated defaults parameters
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 0eb73350..1c565421 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -1062,7 +1062,7 @@ class TestRunnerPluginTest(CoverageTest):
way they do.
"""
- def pretend_to_be_nose_with_cover(self, erase: bool=False, cd: bool=False) -> None:
+ def pretend_to_be_nose_with_cover(self, erase: bool = False, cd: bool = False) -> None:
"""This is what the nose --with-cover plugin does."""
self.make_file("no_biggie.py", """\
a = 1
@@ -1492,7 +1492,7 @@ class CombiningTest(CoverageTest):
class ReportMapsPathsTest(CoverageTest):
"""Check that reporting implicitly maps paths."""
- def make_files(self, data: str, settings: bool=False) -> None:
+ def make_files(self, data: str, settings: bool = False) -> None:
"""Create the test files we need for line coverage."""
src = """\
if VER == 1: