[New-bugs-announce] [issue9345] argparse wrap tests are sensitive to terminal size

Steven Bethard report at bugs.python.org
Fri Jul 23 15:14:53 CEST 2010

New submission from Steven Bethard <steven.bethard at gmail.com>:

[From http://code.google.com/p/argparse/issues/detail?id=63]

What steps will reproduce the problem?
1. PYTHONPATH=. python test/test_argparse.py
2. do the above in an 80x24 terminal window and it passes
3. do the same in an 80 wide emacs shell buffer and you get lots of failures

To make sure this doesn't continue to be a problem, we probably need to do something like os.environ['COLUMNS'] = 80 and check output like that.

components: Tests
messages: 111311
nosy: bethard
priority: normal
severity: normal
stage: needs patch
status: open
title: argparse wrap tests are sensitive to terminal size
type: behavior
versions: Python 2.7, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list