This is necessary for when using e.g. `no_fnmatch_line` after it. Factor it out into `_fail`. (cherry picked from commit aade7ed0045ba32557ef8565cbab28a2c91053a7) Ref: https://github.com/pytest-dev/pytest/pull/5914#issuecomment-549182242
2 lines
69 B
ReStructuredText
2 lines
69 B
ReStructuredText
pytester: fix ``no_fnmatch_line`` when used after positive matching.
|