diff options
author | Antoine Pitrou <antoine@python.org> | 2024-03-16 12:55:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 11:55:46 +0000 |
commit | 86bc40dd414bceb3f93382cc9f670936de9d68be (patch) | |
tree | a258e635b096c02a5f2f24a3f4c6688caa44308d /Lib/test/support/script_helper.py | |
parent | c61cb507c10c5b597928284e087a9a384ab267d0 (diff) | |
download | cpython-86bc40dd414bceb3f93382cc9f670936de9d68be.tar.gz cpython-86bc40dd414bceb3f93382cc9f670936de9d68be.zip |
gh-112536: Add test_threading to TSAN tests (#116898)
Diffstat (limited to 'Lib/test/support/script_helper.py')
-rw-r--r-- | Lib/test/support/script_helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/support/script_helper.py b/Lib/test/support/script_helper.py index 759020c33aa..65e0bc199e7 100644 --- a/Lib/test/support/script_helper.py +++ b/Lib/test/support/script_helper.py @@ -63,8 +63,8 @@ class _PythonRunResult(collections.namedtuple("_PythonRunResult", """Helper for reporting Python subprocess run results""" def fail(self, cmd_line): """Provide helpful details about failed subcommand runs""" - # Limit to 80 lines to ASCII characters - maxlen = 80 * 100 + # Limit to 300 lines of ASCII characters + maxlen = 300 * 100 out, err = self.out, self.err if len(out) > maxlen: out = b'(... truncated stdout ...)' + out[-maxlen:] |