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
Sorry to not have easy steps to reproduce this - it's very obnoxious to debug and doesn't seem to be easily reproducible without going really far out of your way to trigger it. I've never actually triggered it outside of CI and then never been able to re-trigger it.
The text was updated successfully, but these errors were encountered:
It looks like this isn't an error in Hypothesis per se, but rather an error in ast.parse() when Pytest's assertion-rewriting logic is applied to some of Hypothesis' source code. Which is still pretty strange!
While I don't know why this would happen, it seems reasonable for Hypothesis to disable rewrites by adding the magic string to our module docstrings...
See milesgranger/cramjam#201 for the full details.
For some reason on some systems we reproducibly see a test failure with a traceback in hypothesis internals:
See for example this CI run.
It also only fails the first time the test runs after a fresh build, subsequent runs on the same build complete correctly.
It seems to have started with Hypothesis 6.123.0. I added an upper version pin for Hypothesis in this commit and the cramjam CI seems to be getting past the error: https://github.com/ngoldbaum/cramjam/actions/runs/13294977266
Sorry to not have easy steps to reproduce this - it's very obnoxious to debug and doesn't seem to be easily reproducible without going really far out of your way to trigger it. I've never actually triggered it outside of CI and then never been able to re-trigger it.
The text was updated successfully, but these errors were encountered: