summaryrefslogtreecommitdiff
path: root/tests/mixins.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/mixins.py
parentd4339ee90c3146f370d572cbb1b9ab9907daafad (diff)
downloadpython-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz
style: use good style for annotated defaults parameters
Diffstat (limited to 'tests/mixins.py')
-rw-r--r--tests/mixins.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mixins.py b/tests/mixins.py
index 586dcac5..d207f779 100644
--- a/tests/mixins.py
+++ b/tests/mixins.py
@@ -81,9 +81,9 @@ class TempDirMixin:
def make_file(
self,
filename: str,
- text: str="",
- bytes: bytes=b"",
- newline: Optional[str]=None,
+ text: str = "",
+ bytes: bytes = b"",
+ newline: Optional[str] = None,
) -> str:
"""Make a file. See `tests.helpers.make_file`"""
# pylint: disable=redefined-builtin # bytes