(self, parser: parseopt.Parser)
| 253 | assert args.file_or_dir == ["abcd"] |
| 254 | |
| 255 | def test_drop_short_help0(self, parser: parseopt.Parser) -> None: |
| 256 | parser.addoption("--func-args", "--doit", help="foo", action="store_true") |
| 257 | parser.parse([]) |
| 258 | help = parser.optparser.format_help() |
| 259 | assert "--func-args, --doit foo" in help |
| 260 | |
| 261 | # testing would be more helpful with all help generated |
| 262 | def test_drop_short_help1(self, parser: parseopt.Parser) -> None: |