Created
December 19, 2016 21:48
weird hypothesis error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================================================== FAILURES =========================================================================== | |
______________________________________________________ test_audit_proofs_are_valid_with_alternative_impl ______________________________________________________ | |
@given(st.lists(st.binary(), max_size=99), st.integers(min_value=0, max_value=99)) | |
> def test_audit_proofs_are_valid_with_alternative_impl(data, leafIndex): | |
tests/test_verifiable_log.py:146: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/core.py:524: in wrapped_test | |
print_example=True, is_final=True | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/_settings.py:267: in __exit__ | |
return default_context_manager.__exit__(*args, **kwargs) | |
/nix/store/m8fvfdd3nhff2pn1ncppaz2rwmqpyw29-python3-3.5.2/lib/python3.5/contextlib.py:77: in __exit__ | |
self.gen.throw(type, value, traceback) | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/utils/dynamicvariables.py:43: in with_value | |
yield | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/core.py:524: in wrapped_test | |
print_example=True, is_final=True | |
!!! Recursion detected (same locals & position) | |
------------------------------------------------------------------------- Hypothesis -------------------------------------------------------------------------- | |
Falsifying example: test_audit_proofs_are_valid_with_alternative_impl(data=[b'', b''], leafIndex=0) | |
________________________________________________ test_snapshotted_audit_proofs_are_valid_with_alternative_impl ________________________________________________ | |
@given(st.lists(st.binary(), max_size=99), st.integers(min_value=0, max_value=99), st.integers(min_value=0, max_value=99)) | |
> def test_snapshotted_audit_proofs_are_valid_with_alternative_impl(data, leafIndex, snapshotSize): | |
tests/test_verifiable_log.py:156: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/core.py:524: in wrapped_test | |
print_example=True, is_final=True | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/_settings.py:267: in __exit__ | |
return default_context_manager.__exit__(*args, **kwargs) | |
/nix/store/m8fvfdd3nhff2pn1ncppaz2rwmqpyw29-python3-3.5.2/lib/python3.5/contextlib.py:77: in __exit__ | |
self.gen.throw(type, value, traceback) | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/utils/dynamicvariables.py:43: in with_value | |
yield | |
/nix/store/s5f9zba6xbrjqxmmnjikwndqg9wk2xvr-python3.5-hypothesis-3.5.2/lib/python3.5/site-packages/hypothesis/core.py:524: in wrapped_test | |
print_example=True, is_final=True | |
!!! Recursion detected (same locals & position) | |
------------------------------------------------------------------------- Hypothesis -------------------------------------------------------------------------- | |
Falsifying example: test_snapshotted_audit_proofs_are_valid_with_alternative_impl(data=[b'', b'', b''], leafIndex=0, snapshotSize=2) | |
============================================================= 2 failed, 7 passed in 6.06 seconds ============================================================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment