Skip to content

Commit

Permalink
Ignore more _pytest in explain mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jan 16, 2023
1 parent 0c7d2fc commit 2302a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hypothesis-python/src/hypothesis/internal/scrutineer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def trace(self, frame, event, arg):
f"{sep}inspect.py",
f"{sep}re.py",
f"{sep}re{sep}__init__.py", # refactored in Python 3.11
# Quite rarely, the first AFNP line is in Pytest's assertion-rewriting module.
# Quite rarely, the first AFNP line is in Pytest's internals.
f"{sep}_pytest{sep}assertion{sep}rewrite.py",
f"{sep}_pytest{sep}_io{sep}saferepr.py",
)


Expand Down

0 comments on commit 2302a30

Please sign in to comment.