Skip to content

Commit

Permalink
Suppress coverage check for line 20 as it emits a spurious failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 28, 2024
1 parent e5c6df7 commit 01dc868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/towncrier/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 01dc868

Please sign in to comment.