diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-07-27 23:57:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 23:57:55 (GMT) |
commit | 76c26eaca4147ba7e3e8d7379c5a828f0b512a46 (patch) | |
tree | c3cb22d04e6cba46becfd15204268512110f29e6 /Lib | |
parent | c2b1689abcfa80ad959862168b5260fbbd478484 (diff) | |
download | cpython-76c26eaca4147ba7e3e8d7379c5a828f0b512a46.zip cpython-76c26eaca4147ba7e3e8d7379c5a828f0b512a46.tar.gz cpython-76c26eaca4147ba7e3e8d7379c5a828f0b512a46.tar.bz2 |
gh-106368: Argument clinic tests: improve failure message when tests in `ClinicExternalTests` fail (#107364)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_clinic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_clinic.py b/Lib/test/test_clinic.py index d21c7d8..2f74ee2 100644 --- a/Lib/test/test_clinic.py +++ b/Lib/test/test_clinic.py @@ -1386,7 +1386,7 @@ class ClinicExternalTest(TestCase): ) as proc: proc.wait() if expect_success and proc.returncode: - self.fail("".join(proc.stderr)) + self.fail("".join([*proc.stdout, *proc.stderr])) stdout = proc.stdout.read() stderr = proc.stderr.read() # Clinic never writes to stderr. |