(self, parser: parseopt.Parser)
| 242 | parser.parse(["--funcarg", "--k"]) |
| 243 | |
| 244 | def test_drop_short_2(self, parser: parseopt.Parser) -> None: |
| 245 | parser.addoption("--func-arg", "--doit", action="store_true") |
| 246 | args = parser.parse(["--doit"]) |
| 247 | assert args.func_arg is True |
| 248 | |
| 249 | def test_drop_short_3(self, parser: parseopt.Parser) -> None: |
| 250 | parser.addoption("--func-arg", "--funcarg", "--doit", action="store_true") |