Skip to content

Hypothesis deprecation warnings #1214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marcharper opened this issue Oct 29, 2018 · 2 comments · Fixed by #1288
Closed

Hypothesis deprecation warnings #1214

marcharper opened this issue Oct 29, 2018 · 2 comments · Fixed by #1288

Comments

@marcharper
Copy link
Member

  @settings(max_examples=5, max_iterations=20)
/home/user/repos/axelrod/Axelrod/axelrod/tests/unit/test_tournament.py:1012: HypothesisDeprecationWarning: 
The max_iterations setting has been disabled, as internal heuristics are more
useful for this purpose than a user setting.  It no longer has any effect.

and many other lines. Run ./test to see them.

@drvinceknight
Copy link
Member

We've got hypothesis==3.2.0 in requirements.txt and I don't get this depreciation for that version. (Hypothesis development creates a lot of test maintenance.)

@marcharper
Copy link
Member Author

That's fine, just documenting it here. If you use a conda installation without adhering to our requirements you get these warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants