Skip to content

Commit 98cbeca

Browse files
committed
ignore more pytest internals for scrutineer
1 parent 6292355 commit 98cbeca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hypothesis-python/src/hypothesis/internal/scrutineer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,15 @@ def __exit__(self, *args, **kwargs):
137137
"/warnings.py",
138138
# Quite rarely, the first AFNP line is in Pytest's internals.
139139
"/_pytest/_io/saferepr.py",
140+
"/_pytest/_io/terminalwriter.py",
140141
"/_pytest/assertion/*.py",
141142
"/_pytest/config/__init__.py",
142143
"/_pytest/pytester.py",
143144
"/pluggy/_*.py",
145+
# used by pytest for failure formatting in the terminal
146+
"/pygments/lexer.py",
147+
# used by pytest for failure formatting
148+
"/difflib.py",
144149
"/reprlib.py",
145150
"/typing.py",
146151
"/conftest.py",

0 commit comments

Comments
 (0)