10000 gh-106368: Argument clinic tests: improve failure message when tests … · miss-islington/cpython@08fe261 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08fe261

Browse files
AlexWaygoodmiss-islington
authored andcommitted
pythongh-106368: Argument clinic tests: improve failure message when tests in ClinicExternalTests fail (pythonGH-107364)
(cherry picked from commit 76c26ea) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent f106254 commit 08fe261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_clinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ def _do_test(self, *args, expect_success=True):
13061306
) as proc:
13071307
proc.wait()
13081308
if expect_success and proc.returncode:
1309-
self.fail("".join(proc.stderr))
1309+
self.fail("".join([*proc.stdout, *proc.stderr]))
13101310
stdout = proc.stdout.read()
13111311
stderr = proc.stderr.read()
13121312
# Clinic never writes to stderr.

0 commit comments

Comments
 (0)
0