You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hypothesis-python/docs/changelog.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6264,7 +6264,7 @@ affecting the :pypi:`returns` package (:issue:`3060`).
6264
6264
6.14.8 - 2021-08-16
6265
6265
-------------------
6266
6266
6267
-
This patch ensures that registering a strategy for a subclass of a a parametrised
6267
+
This patch ensures that registering a strategy for a subclass of a parametrised
6268
6268
generic type such as ``class Lines(Sequence[str]):`` will not "leak" into unrelated
6269
6269
strategies such as ``st.from_type(Sequence[int])`` (:issue:`2951`).
6270
6270
Unfortunately this fix requires :pep:`560`, meaning Python 3.7 or later.
@@ -8272,7 +8272,7 @@ caused an internal error. This bug was introduced in :ref:`version 5.8.1 <v5.8.
8272
8272
5.10.1 - 2020-04-19
8273
8273
-------------------
8274
8274
8275
-
This release is a small internal refactoring to how shrinking interacts with :ref:`targeted property-based testing <targeted>` that should have no user user visible impact.
8275
+
This release is a small internal refactoring to how shrinking interacts with :ref:`targeted property-based testing <targeted>` that should have no user visible impact.
8276
8276
8277
8277
.. _v5.10.0:
8278
8278
@@ -8773,7 +8773,7 @@ Removals
8773
8773
- ``hypothesis.settings.buffer``, without replacement
8774
8774
- ``hypothesis.PrintSettings``, because :obj:`hypothesis.settings.print_blob` takes ``True`` or ``False``
8775
8775
- ``hypothesis.settings.timeout``, in favor of :obj:`hypothesis.settings.deadline`
8776
-
- ``hypothesis.unlimited`` without replacement (only only useful as argument to ``timeout``)
8776
+
- ``hypothesis.unlimited`` without replacement (only useful as argument to ``timeout``)
8777
8777
8778
8778
Hypothesis 4.x
8779
8779
==============
@@ -8806,7 +8806,7 @@ with :func:`~hypothesis.strategies.from_type`:
8806
8806
- :class:`python:typing.SupportsRound`
8807
8807
8808
8808
Note that using :func:`~hypothesis.strategies.from_type` with one of the above strategies will not
8809
-
ensure that the the specified function will execute successfully (ie : the strategy returned for
8809
+
ensure that the specified function will execute successfully (ie : the strategy returned for
8810
8810
``from_type(typing.SupportsAbs)`` may include NaNs or things which cause the :func:`python:abs`
8811
8811
function to error. )
8812
8812
@@ -12837,7 +12837,7 @@ not recommended for direct use by other users of Hypothesis.
12837
12837
-------------------
12838
12838
12839
12839
This release adds a new mechanism to infer strategies for classes
12840
-
defined using :pypi:`attrs`, based on the the type, converter, or
12840
+
defined using :pypi:`attrs`, based on the type, converter, or
12841
12841
validator of each attribute. This inference is now built in to
12842
12842
:func:`~hypothesis.strategies.builds` and :func:`~hypothesis.strategies.from_type`.
12843
12843
@@ -14193,7 +14193,7 @@ Hypothesis now emits deprecation warnings if you apply
14193
14193
:func:`@given <hypothesis.given>` more than once to a target.
14194
14194
14195
14195
Applying :func:`@given <hypothesis.given>` repeatedly wraps the target multiple
14196
-
times. Each wrapper will search the space of of possible parameters separately.
14196
+
times. Each wrapper will search the space of possible parameters separately.
14197
14197
This is equivalent but will be much more inefficient than doing it with a
14198
14198
single call to :func:`@given <hypothesis.given>`.
14199
14199
@@ -15659,7 +15659,7 @@ Minor bug fix release.
15659
15659
can both now be called with an empty argument
15660
15660
list, in which case they also never generate any values.
15661
15661
* :func:`~hypothesis.strategies.one_of` may now be called with a single argument that is a collection of strategies
15662
-
as well as as varargs.
15662
+
as well as varargs.
15663
15663
* Add a :func:`~hypothesis.strategies.runner` strategy which returns the instance of the current test object
15664
15664
if there is one.
15665
15665
* 'Bundle' for RuleBasedStateMachine is now a normal(ish) strategy and can be used
@@ -16186,7 +16186,7 @@ Bug fixes:
16186
16186
1.11.0 - 2015-08-31
16187
16187
-------------------
16188
16188
16189
-
* text() with a non-string alphabet would have used the repr() of the the alphabet
16189
+
* text() with a non-string alphabet would have used the repr() of the alphabet
16190
16190
instead of its contexts. This is obviously silly. It now works with any sequence
16191
16191
of things convertible to unicode strings.
16192
16192
* @given will now work on methods whose definitions contains no explicit positional
@@ -17026,7 +17026,7 @@ Bug fixes:
17026
17026
17027
17027
Other:
17028
17028
17029
-
* A lot of internals have been been rewritten. This shouldn't affect you at all, but
17029
+
* A lot of internals have been rewritten. This shouldn't affect you at all, but
17030
17030
it opens the way for certain of hypothesis's oddities to be a lot more extensible by
17031
17031
users. Whether this is a good thing may be up for debate...
0 commit comments