From 01dc868c37124b53602d6e686e3ac334560daa63 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 28 Apr 2024 11:25:13 -0400 Subject: [PATCH] Suppress coverage check for line 20 as it emits a spurious failure. --- src/towncrier/_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/towncrier/_writer.py b/src/towncrier/_writer.py index 351fae6a..09a54f60 100644 --- a/src/towncrier/_writer.py +++ b/src/towncrier/_writer.py @@ -17,7 +17,7 @@ if sys.version_info < (3, 10): def _newline_write_text(path: Path, content: str, **kwargs: Any) -> None: - with path.open("w", **kwargs) as strm: + with path.open("w", **kwargs) as strm: # pragma: no cover strm.write(content) else: