Skip to content

Commit 88f5659

Browse files
committed
Use encoding instead of text
Dont use text argument as was introduced in Python 3.7 while template is for 3.6 Fixes #188
1 parent ce276a6 commit 88f5659

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)