Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.90.1 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Nov 27, 2023
1 parent 4d95d5a commit 47c286d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
18 changes: 0 additions & 18 deletions hypothesis-python/RELEASE.rst

This file was deleted.

23 changes: 23 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.90.1:

-------------------
6.90.1 - 2023-11-27
-------------------

This patch supports assigning ``settings = settings(...)`` as a class attribute
on a subclass of a ``.TestCase`` attribute of a :class:`~hypothesis.stateful.RuleBasedStateMachine`.
Previously, this did nothing at all.

.. code-block: python
# works as of this release
class TestMyStatefulMachine(MyStatefulMachine.TestCase):
settings = settings(max_examples=10000)
# the old way still works, but it's more verbose.
MyStateMachine.TestCase.settings = settings(max_examples=10000)
class TestMyStatefulMachine(MyStatefulMachine.TestCase):
pass
Thanks to Joey Tran for reporting these settings-related edge cases in stateful testing.

.. _v6.90.0:

-------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.

__version_info__ = (6, 90, 0)
__version_info__ = (6, 90, 1)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 47c286d

Please sign in to comment.