Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Commit 18fbf4d

Browse files
committed
universal_newlines=True for strings plz
1 parent ee9cca4 commit 18fbf4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox_pyenv.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ def tox_get_python_executable(envconfig):
7474
pipe = subprocess.Popen(
7575
cmd,
7676
stdout=subprocess.PIPE,
77-
stderr=subprocess.PIPE)
77+
stderr=subprocess.PIPE,
78+
universal_newlines=True
79+
)
7880
out, err = pipe.communicate()
7981
except OSError:
8082
raise PyenvMissing(

0 commit comments

Comments
 (0)