Ensure captured lines do not match the given pattern, using ``fnmatch.fnmatch``. :param str pat: The pattern to match lines.
(self, pat: str)
| 1744 | self._log_output = [] |
| 1745 | |
| 1746 | def no_fnmatch_line(self, pat: str) -> None: |
| 1747 | """Ensure captured lines do not match the given pattern, using ``fnmatch.fnmatch``. |
| 1748 | |
| 1749 | :param str pat: The pattern to match lines. |
| 1750 | """ |
| 1751 | __tracebackhide__ = True |
| 1752 | self._no_match_line(pat, fnmatch, "fnmatch") |
| 1753 | |
| 1754 | def no_re_match_line(self, pat: str) -> None: |
| 1755 | """Ensure captured lines do not match the given pattern, using ``re.match``. |
no test coverage detected