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
Weak references are inherently non-deterministic. CrossHair right now does nothing special to address this, and so it'll likely raise NotDeterministic when executing such code.
This issue (or maybe just a related one) is visible right now as a hypothesis test failure at tests/cover/test_filter_rewriting.py::test_regex_filter_rewriting. (via an unstable iteration order while trying to intercept a dictionary access for LAMBDA_SOURCE_CACHE in src/hypothesis/internal/reflection.py. Note that this is a global.
Probably the (easiest?) path forward is to intercept all weak accesses and make all values appear to be missing. Though then we'll miss bugs where returning a prior result reveals an issue. These paths should be marked incomplete, and should be subject to re-execution per #309.
The text was updated successfully, but these errors were encountered:
As of 0.0.74, there is (incomplete) support for making weakrefs be universally missing. You can check these weakref tests for up-to-date information on our level of support.
Weak references are inherently non-deterministic. CrossHair right now does nothing special to address this, and so it'll likely raise
NotDeterministic
when executing such code.This issue (or maybe just a related one) is visible right now as a hypothesis test failure at
tests/cover/test_filter_rewriting.py::test_regex_filter_rewriting
. (via an unstable iteration order while trying to intercept a dictionary access forLAMBDA_SOURCE_CACHE
insrc/hypothesis/internal/reflection.py
. Note that this is a global.Probably the (easiest?) path forward is to intercept all weak accesses and make all values appear to be missing. Though then we'll miss bugs where returning a prior result reveals an issue. These paths should be marked incomplete, and should be subject to re-execution per #309.
The text was updated successfully, but these errors were encountered: