Skip to content

Comments

Update hypothesis to 3.44.16#428

Merged
adamtheturtle merged 1 commit intomasterfrom
pyup-update-hypothesis-3.44.14-to-3.44.16
Jan 14, 2018
Merged

Update hypothesis to 3.44.16#428
adamtheturtle merged 1 commit intomasterfrom
pyup-update-hypothesis-3.44.14-to-3.44.16

Conversation

@pyup-bot
Copy link
Collaborator

There's a new version of hypothesis available.
You are currently using 3.44.14. I have updated it to 3.44.16

These links might come in handy: PyPI | Changelog | Repo

Changelog

3.44.16


This release improves test case reduction for recursive data structures.
Hypothesis now guarantees that whenever a strategy calls itself recursively
(usually this will happen because you are using :func:~hypothesis.strategies.deferred),
any recursive call may replace the top level value. e.g. given a tree structure,
Hypothesis will always try replacing it with a subtree.

Additionally this introduces a new heuristic that may in some circumstances
significantly speed up test case reduction - Hypothesis should be better at
immediately replacing elements drawn inside another strategy with their minimal
possible value.


3.44.15


:func:~hypothesis.strategies.from_type can now resolve recursive types
such as binary trees (:issue:1004). Detection of non-type arguments has
also improved, leading to better error messages in many cases involving
:pep:forward references <484forward-references>.


Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@adamtheturtle adamtheturtle merged commit 58740ce into master Jan 14, 2018
@adamtheturtle adamtheturtle deleted the pyup-update-hypothesis-3.44.14-to-3.44.16 branch January 14, 2018 01:27
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 this pull request may close these issues.

2 participants