MCPcopy
hub / github.com/pytest-dev/pytest / test_parse2

Method test_parse2

testing/test_parseopt.py:132–134  ·  view source on GitHub ↗
(self, parser: parseopt.Parser)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected