aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-19 22:24:56 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-04-19 22:24:56 +0200
commit119ebb70e9b7ae15896ced52321d626b757e7cbb (patch)
tree0afb3b2dbb9581847107b4d4f3491476cfefeeb6 /Lib/test/test_codecs.py
parentded4c4967b37ead4c2f897b3a0f565a02098a948 (diff)
downloadcpython-119ebb70e9b7ae15896ced52321d626b757e7cbb.tar.gz
cpython-119ebb70e9b7ae15896ced52321d626b757e7cbb.zip
Fix shutil.get_terminal_size() error handling
Issue #26801: Fix error handling in shutil.get_terminal_size(), catch AttributeError instead of NameError. Patch written by Emanuel Barry. test_shutil: skip the functional test using "stty size" command if os.get_terminal_size() is missing.
Diffstat (limited to 'Lib/test/test_codecs.py')
0 files changed, 0 insertions, 0 deletions