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
Currently the first one fails and the second one passes.
Why? Well because in the first one the lazy strategy containing the values of x is instantiated at the point of the draw after the append(2). in the second one it's instantiated before it.
I think sampled from is the only place where this is currently a significant issue, so this can probably be fixed by removing the defined_strategy from sampled_from, but we need to handle some of its special casing seperately to make sure it has a good repr then.
The text was updated successfully, but these errors were encountered:
I discovered an unpleasant surprise when debugging #2505
Consider the following two tests:
Currently the first one fails and the second one passes.
Why? Well because in the first one the lazy strategy containing the values of
xis instantiated at the point of the draw after theappend(2). in the second one it's instantiated before it.I think sampled from is the only place where this is currently a significant issue, so this can probably be fixed by removing the
defined_strategyfrom sampled_from, but we need to handle some of its special casing seperately to make sure it has a good repr then.The text was updated successfully, but these errors were encountered: