summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.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_concurrency.py
parentd4339ee90c3146f370d572cbb1b9ab9907daafad (diff)
downloadpython-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz
style: use good style for annotated defaults parameters
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index c80136c4..3360094b 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -207,7 +207,7 @@ class ConcurrencyTest(CoverageTest):
code: str,
concurrency: str,
the_module: ModuleType,
- expected_out: Optional[str]=None,
+ expected_out: Optional[str] = None,
) -> None:
"""Run some concurrency testing code and see that it was all covered.
@@ -460,8 +460,8 @@ class MultiprocessingTest(CoverageTest):
the_module: ModuleType,
nprocs: int,
start_method: str,
- concurrency: str="multiprocessing",
- args: str="",
+ concurrency: str = "multiprocessing",
+ args: str = "",
) -> None:
"""Run code using multiprocessing, it should produce `expected_out`."""
self.make_file("multi.py", code)