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

Method fnmatch_lines_random

src/_pytest/pytester.py:1601–1604  ·  view source on GitHub ↗

Check lines exist in the output in any order (using :func:`python:fnmatch.fnmatch`).

(self, lines2: Sequence[str])

Source from the content-addressed store, hash-verified

1599 return lines2
1600
1601 def fnmatch_lines_random(self, lines2: Sequence[str]) -> None:
1602 """Check lines exist in the output in any order (using :func:`python:fnmatch.fnmatch`)."""
1603 __tracebackhide__ = True
1604 self._match_lines_random(lines2, fnmatch)
1605
1606 def re_match_lines_random(self, lines2: Sequence[str]) -> None:
1607 """Check lines exist in the output in any order (using :func:`python:re.match`)."""

Calls 1

_match_lines_randomMethod · 0.95

Tested by

no test coverage detected