File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff 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-------------------
Original file line number Diff line number Diff line change 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__ ))
You can’t perform that action at this time.
0 commit comments