Skip to content

Commit 07be56f

Browse files
committed
tracebackhide only works in locals
Pytests's traceback-hiding logic only works if the magic value is in locals(), not globals(), and in any case we now have our own custom traceback-trimming logic.
1 parent 6cf8dcd commit 07be56f

File tree

1 file changed

+0
-5
lines changed
  • hypothesis-python/src/hypothesis/internal/conjecture

1 file changed

+0
-5
lines changed

hypothesis-python/src/hypothesis/internal/conjecture/engine.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@
4747
from hypothesis.internal.healthcheck import fail_health_check
4848
from hypothesis.reporting import base_report, report
4949

50-
# Tell pytest to omit the body of this module from tracebacks
51-
# https://docs.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
52-
__tracebackhide__ = True
53-
54-
5550
MAX_SHRINKS = 500
5651
CACHE_SIZE = 10000
5752
MUTATION_POOL_SIZE = 100

0 commit comments

Comments
 (0)