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
deftest_frozen_things():
# Hypothesis reraises the TypeError as a StopTest, because the data is Frozen,# and never resurfaces the TypeError anywhere.@given(st.data())deffoo(data):
data.conjecture_data.freeze()
raiseTypeError("oops")
foo()
DataObject.conjecture_data is not public API (see #4170) so we shouldn't have to worry about users
directly calling data.conjecture_data.freeze(), but it might be possible that exceptions in internal code gets suppressed.
The text was updated successfully, but these errors were encountered:
DataObject.conjecture_data
is not public API (see #4170) so we shouldn't have to worry about usersdirectly calling
data.conjecture_data.freeze()
, but it might be possible that exceptions in internal code gets suppressed.The text was updated successfully, but these errors were encountered: