Skip to content

Commit

Permalink
Temporary definition file for testing should be UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jul 14, 2023
1 parent 4be426d commit 87ab63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pint/testsuite/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def tiny_definition_file(tmppath_factory: pathlib.Path) -> pathlib.Path:
folder.mkdir(exist_ok=True, parents=True)
path = folder / "tiny.txt"
if not path.exists():
path.write_text(_TINY)
path.write_text(_TINY, encoding="utf-8")
return path


Expand Down

0 comments on commit 87ab63f

Please sign in to comment.