Skip to content

Commit 77db59b

Browse files
authored
Merge pull request #231 from NLeSC/188-subprocess-text
Use encoding instead of text
2 parents ce276a6 + 4306846 commit 77db59b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def run(command: str, dirpath: os.PathLike) -> subprocess.CompletedProcess:
1717
stdout=subprocess.PIPE,
1818
stderr=subprocess.PIPE,
1919
cwd=dirpath,
20-
text=True)
20+
encoding="utf-8")
2121

2222

2323
def test_pytest(cookies):

0 commit comments

Comments
 (0)