(self, parser: parseopt.Parser)
| 130 | assert not getattr(args, parseopt.FILE_OR_DIR) |
| 131 | |
| 132 | def test_parse2(self, parser: parseopt.Parser) -> None: |
| 133 | args = parser.parse([Path(".")]) |
| 134 | assert getattr(args, parseopt.FILE_OR_DIR)[0] == "." |
| 135 | |
| 136 | # Warning ignore because of: |
| 137 | # https://github.com/python/cpython/issues/85308 |