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 76c26ea

Browse filesBrowse files
authored
gh-106368: Argument clinic tests: improve failure message when tests in ClinicExternalTests fail (#107364)
1 parent c2b1689 commit 76c26ea
Copy full SHA for 76c26ea

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
@@ -1386,7 +1386,7 @@ def _do_test(self, *args, expect_success=True):
13861386
) as proc:
13871387
proc.wait()
13881388
if expect_success and proc.returncode:
1389-
self.fail("".join(proc.stderr))
1389+
self.fail("".join([*proc.stdout, *proc.stderr]))
13901390
stdout = proc.stdout.read()
13911391
stderr = proc.stderr.read()
13921392
# 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.