File tree Expand file tree Collapse file tree 3 files changed +24
-19
lines changed Expand file tree Collapse file tree 3 files changed +24
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,29 @@ Hypothesis 6.x
18
18
19
19
.. include :: ../RELEASE.rst
20
20
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
+
21
44
.. _v6.90.0 :
22
45
23
46
-------------------
Original file line number Diff line number Diff line change 8
8
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
9
# obtain one at https://mozilla.org/MPL/2.0/.
10
10
11
- __version_info__ = (6 , 90 , 0 )
11
+ __version_info__ = (6 , 90 , 1 )
12
12
__version__ = "." .join (map (str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments