Author: Armin Rigo <[email protected]>
Branch: static-callback-embedding
Changeset: r2552:249be3c875c8
Date: 2016-01-08 08:47 +0100
http://bitbucket.org/cffi/cffi/changeset/249be3c875c8/
Log: Py3 fix
diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py
--- a/testing/embedding/test_basic.py
+++ b/testing/embedding/test_basic.py
@@ -36,7 +36,9 @@
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:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit