diff options
author | Armin Rigo <arigo@tunes.org> | 2016-01-08 08:47:44 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-01-08 08:47:44 +0100 |
commit | 6cde8fe03724d78dbb61b510af06a2211eae98aa (patch) | |
tree | 936841dbefe2bdfa6670b1314067d436038b924f /testing/embedding | |
parent | d7b0d2f9229bde6e207b243faf35c28b137704f0 (diff) | |
download | cffi-6cde8fe03724d78dbb61b510af06a2211eae98aa.tar.gz |
Py3 fix
Diffstat (limited to 'testing/embedding')
-rw-r--r-- | testing/embedding/test_basic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py index 52d73c4..b77484e 100644 --- a/testing/embedding/test_basic.py +++ b/testing/embedding/test_basic.py @@ -36,7 +36,9 @@ class EmbeddingTests: def _run(self, args, env=None): print(args) - popen = subprocess.Popen(args, env=env, cwd=self.get_path(), stdout=subprocess.PIPE) + popen = subprocess.Popen(args, env=env, cwd=self.get_path(), + stdout=subprocess.PIPE, + universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: |