Skip to content

Commit 47c286d

Browse files
committed
Bump hypothesis-python version to 6.90.1 and update changelog
[skip ci]
1 parent 4d95d5a commit 47c286d

File tree

3 files changed

+24
-19
lines changed

3 files changed

+24
-19
lines changed

hypothesis-python/RELEASE.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

hypothesis-python/docs/changes.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,29 @@ Hypothesis 6.x
1818

1919
.. include:: ../RELEASE.rst
2020

21+
.. _v6.90.1:
22+
23+
-------------------
24+
6.90.1 - 2023-11-27
25+
-------------------
26+
27+
This patch supports assigning ``settings = settings(...)`` as a class attribute
28+
on a subclass of a ``.TestCase`` attribute of a :class:`~hypothesis.stateful.RuleBasedStateMachine`.
29+
Previously, this did nothing at all.
30+
31+
.. code-block: python
32+
33+
# works as of this release
34+
class TestMyStatefulMachine(MyStatefulMachine.TestCase):
35+
settings = settings(max_examples=10000)
36+
37+
# the old way still works, but it's more verbose.
38+
MyStateMachine.TestCase.settings = settings(max_examples=10000)
39+
class TestMyStatefulMachine(MyStatefulMachine.TestCase):
40+
pass
41+
42+
Thanks to Joey Tran for reporting these settings-related edge cases in stateful testing.
43+
2144
.. _v6.90.0:
2245

2346
-------------------

hypothesis-python/src/hypothesis/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11-
__version_info__ = (6, 90, 0)
11+
__version_info__ = (6, 90, 1)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)