From 163a3ec7c2f009cfa3b6a587ed6fade018b085ff Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Fri, 19 Apr 2019 17:44:10 +0200 Subject: Windows fix --- testing/embedding/test_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/embedding') diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py index bafdcbb..894ace5 100644 --- a/testing/embedding/test_basic.py +++ b/testing/embedding/test_basic.py @@ -63,8 +63,8 @@ class EmbeddingTests: output = popen.stdout.read() err = popen.wait() if err: - raise OSError("popen failed with exit code %r: %r" % ( - err, args)) + raise OSError(("popen failed with exit code %r: %r\n\n%s" % ( + err, args, output)).rstrip()) print(output.rstrip()) return output -- cgit v1.2.1