File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -5482,32 +5482,6 @@ def test_help_with_metavar(self):
5482
5482
''' ))
5483
5483
5484
5484
5485
- class TestHelpUsageWrapAllowsNilAndTab (HelpTestCase ):
5486
- """Usage message should wrap successfully when metavar='' or literal tab
5487
- Other whitespace characters may behave differently on different systems,
5488
- but should not cause an assertion error."""
5489
-
5490
- parser_signature = Sig (prog = 'PROG' * 19 )
5491
- argument_signatures = [
5492
- Sig ('--nil' , metavar = '' ),
5493
- Sig ('--Tab' , metavar = '\t tab' )
5494
- ]
5495
- argument_group_signatures = []
5496
- usage = '''\
5497
- usage: PROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROGPROG
5498
- [-h] [--nil] [--Tab tab]
5499
- '''
5500
- help = usage + '''\
5501
-
5502
- optional arguments:
5503
- -h, --help show this help message and exit
5504
- --nil \
5505
-
5506
- --Tab tab
5507
- '''
5508
- version = ''
5509
-
5510
-
5511
5485
class TestExitOnError (TestCase ):
5512
5486
5513
5487
def setUp (self ):
You can’t perform that action at this time.
0 commit comments