File tree 4 files changed +14
-9
lines changed 4 files changed +14
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,17 @@ Hypothesis 6.x
18
18
19
19
.. include :: ../RELEASE.rst
20
20
21
+ .. _v6.87.0 :
22
+
23
+ -------------------
24
+ 6.87.0 - 2023-09-25
25
+ -------------------
26
+
27
+ This release deprecates use of :func: `~hypothesis.assume ` and ``reject() ``
28
+ outside of property-based tests, because these functions work by raising a
29
+ special exception (:issue: `3743 `). It also fixes some type annotations
30
+ (:issue: `3753 `).
31
+
21
32
.. _v6.86.2 :
22
33
23
34
-------------------
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def reject() -> NoReturn:
28
28
if _current_build_context .value is None :
29
29
note_deprecation (
30
30
"Using `reject` outside a property-based test is deprecated" ,
31
- since = "RELEASEDAY " ,
31
+ since = "2023-09-25 " ,
32
32
has_codemod = False ,
33
33
)
34
34
raise UnsatisfiedAssumption
@@ -44,7 +44,7 @@ def assume(condition: object) -> bool:
44
44
if _current_build_context .value is None :
45
45
note_deprecation (
46
46
"Using `assume` outside a property-based test is deprecated" ,
47
- since = "RELEASEDAY " ,
47
+ since = "2023-09-25 " ,
48
48
has_codemod = False ,
49
49
)
50
50
if not condition :
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 , 86 , 2 )
11
+ __version_info__ = (6 , 87 , 0 )
12
12
__version__ = "." .join (map (str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments