You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's likely because I'm doing something slightly fishy with trying to recover from certain Hypothesis internal errors, but similar code (e.g. using st.functions slightly wrong here) also triggers this error.
I'll try to dig into it myself a bit later and provide a bit more of a usable bug report. Consider this more by way of IOU and/or if the problem is obvious to anyone else.
The text was updated successfully, but these errors were encountered:
DRMacIver
changed the title
Hypothesis error reporting triggering internal error in inspect library
Hypothesis error reporting triggering internal error in inspect module
Dec 26, 2023
Merry Christmas! I got you a really cursed looking bug.
In testing shrinkray I managed to trigger the following charming error:
This only happens if verbosity is set to below verbose, suggesting it's occurring somewhere in how we trim stack traces.
I don't currently have a minimised reproducer for this (I'm aware of the irony), but if you check out https://github.com/DRMacIver/shrinkray/tree/DRMacIver/hypothesis-bug-repro,
pip install -e .[dev]
and runpython -m pytest tests/test_generic_shrinking_properties.py
, you'll get this error.It's likely because I'm doing something slightly fishy with trying to recover from certain Hypothesis internal errors, but similar code (e.g. using
st.functions
slightly wrong here) also triggers this error.I'll try to dig into it myself a bit later and provide a bit more of a usable bug report. Consider this more by way of IOU and/or if the problem is obvious to anyone else.
The text was updated successfully, but these errors were encountered: