Check for existing breakpoints when asserting absent sys.gettrace #1518
Labels
legibility
make errors helpful and Hypothesis grokable
tests/build/CI
about testing or deployment *of* Hypothesis
While developing a new strategy for hypothesis, I've run into the case where the code can't be debugged, at least by simply running pytest in a debugger. This is due to an
assert
in theconftest
file:hypothesis/hypothesis-python/tests/conftest.py
Lines 80 to 83 in 026fa35
Personally I'm not sure on the meanings behind its existence and operation, but via a chat with @Zac-HD, it came up that if the (coverage) tests have a breakpoint, then they should allow the tests to proceed.
The text was updated successfully, but these errors were encountered: