diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-12-25 05:18:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 05:18:37 (GMT) |
commit | 7acfe4125725e86c982300cf10c0ab791a0783f4 (patch) | |
tree | 2c9445799a0c06d3878802a0d230a34508890bac /Lib/tkinter/test/widget_tests.py | |
parent | 5a6b5d8c392ca7028e7c034710a89492cd704778 (diff) | |
download | cpython-7acfe4125725e86c982300cf10c0ab791a0783f4.zip cpython-7acfe4125725e86c982300cf10c0ab791a0783f4.tar.gz cpython-7acfe4125725e86c982300cf10c0ab791a0783f4.tar.bz2 |
bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)
When the modern text= spelling of the universal_newlines= parameter was added
for Python 3.7, check_output's special case around input=None was overlooked.
So it behaved differently with universal_newlines=True vs text=True. This
reconciles the behavior to be consistent and adds a test to guarantee it.
Also clarifies the existing check_output documentation.
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
(cherry picked from commit 64abf373444944a240274a9b6d66d1cb01ecfcdd)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Lib/tkinter/test/widget_tests.py')
0 files changed, 0 insertions, 0 deletions