Skip to content

Commit

Permalink
Update src/towncrier/test/helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Grainger <[email protected]>
  • Loading branch information
hynek and graingert authored Apr 12, 2023
1 parent d1faac0 commit 516a15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/towncrier/test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def read_pkg_resource(path: str) -> str:
"""
Read *path* from the towncrier package.
"""
return (resources.files("towncrier") / path).read_text()
return (resources.files("towncrier") / path).read_text("utf8")


def with_isolated_runner(fn: Callable[..., Any]) -> Callable[..., Any]:
Expand Down

0 comments on commit 516a15d

Please sign in to comment.