Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 51b302e

Browse filesBrowse files
[3.11] gh-106368: Argument clinic tests: improve failure message when tests in ClinicExternalTests fail (GH-107364) (#107366)
gh-106368: Argument clinic tests: improve failure message when tests in `ClinicExternalTests` fail (GH-107364) (cherry picked from commit 76c26ea) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent f106254 commit 51b302e
Copy full SHA for 51b302e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Lib/test/test_clinic.py

Copy file name to clipboardExpand all lines: Lib/test/test_clinic.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.