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,17 @@ Hypothesis 6.x
1818
1919 .. include :: ../RELEASE.rst
2020
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+
2132.. _v6.86.2 :
2233
2334-------------------
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def reject() -> NoReturn:
2828 if _current_build_context .value is None :
2929 note_deprecation (
3030 "Using `reject` outside a property-based test is deprecated" ,
31- since = "RELEASEDAY " ,
31+ since = "2023-09-25 " ,
3232 has_codemod = False ,
3333 )
3434 raise UnsatisfiedAssumption
@@ -44,7 +44,7 @@ def assume(condition: object) -> bool:
4444 if _current_build_context .value is None :
4545 note_deprecation (
4646 "Using `assume` outside a property-based test is deprecated" ,
47- since = "RELEASEDAY " ,
47+ since = "2023-09-25 " ,
4848 has_codemod = False ,
4949 )
5050 if not condition :
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 , 86 , 2 )
11+ __version_info__ = (6 , 87 , 0 )
1212__version__ = "." .join (map (str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments