summaryrefslogtreecommitdiff
path: root/tox/_pytestplugin.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-10-22 10:59:09 +0200
committerholger krekel <holger@merlinux.eu>2013-10-22 10:59:09 +0200
commita563aecda09d01b4ecd278315360148de6a36be9 (patch)
tree74777c342297b348af294e6cbd7ae32e387e1da5 /tox/_pytestplugin.py
parentf914825d783da586e20ad77e1b7347b97a4510ea (diff)
downloadtox-a563aecda09d01b4ecd278315360148de6a36be9.tar.gz
fix issue129: tox now uses Popen(..., universal_newlines=True) to force
creation of unicode stdout/stderr streams. fixes a problem on specific platform configs when creating virtualenvs with Python3.3. Thanks Jorgen Sch?fer or investigation and solution sketch.
Diffstat (limited to 'tox/_pytestplugin.py')
-rw-r--r--tox/_pytestplugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox/_pytestplugin.py b/tox/_pytestplugin.py
index 6c90c8d..4958617 100644
--- a/tox/_pytestplugin.py
+++ b/tox/_pytestplugin.py
@@ -130,6 +130,7 @@ def pytest_funcarg__mocksession(request):
def make_emptydir(self, path):
pass
def popen(self, args, cwd, shell=None,
+ universal_newlines=False,
stdout=None, stderr=None, env=None):
pm = pcallMock(args, cwd, env, stdout, stderr, shell)
self._pcalls.append(pm)