Commit 8df632d7 authored by Jim Fulton's avatar Jim Fulton

Get consistent optparse help regardless of actual terminal output

to avoid spurious test failures.
parent 4ef3eea1
...@@ -44,6 +44,7 @@ Now, we're ready to try the script: ...@@ -44,6 +44,7 @@ Now, we're ready to try the script:
If we call it with no arguments, we get help: If we call it with no arguments, we get help:
>>> import os; os.environ['COLUMNS'] = '80' # for consistent optparse output
>>> main([], 'zeopack') >>> main([], 'zeopack')
Usage: zeopack [options] [servers] Usage: zeopack [options] [servers]
<BLANKLINE> <BLANKLINE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment