aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/hypothesis/py3
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-02-15 07:56:41 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-02-15 08:11:10 +0300
commit93edb3c33a4916a84c97ca81e688575a1c2a5e0e (patch)
tree094f3b1c75f2c9880bed8fb59f9e24f2295c6ff9 /contrib/python/hypothesis/py3
parent6c8cd09050143d7360e81e2e94c235b837c1e2b2 (diff)
downloadydb-93edb3c33a4916a84c97ca81e688575a1c2a5e0e.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/hypothesis/py3')
-rw-r--r--contrib/python/hypothesis/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/database.py8
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/extra/ghostwriter.py2
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py4
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/version.py2
-rw-r--r--contrib/python/hypothesis/py3/ya.make2
6 files changed, 11 insertions, 9 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA
index 29c5c3f323..04454aaec7 100644
--- a/contrib/python/hypothesis/py3/.dist-info/METADATA
+++ b/contrib/python/hypothesis/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hypothesis
-Version: 6.97.3
+Version: 6.97.4
Summary: A library for property-based testing
Home-page: https://hypothesis.works
Author: David R. MacIver and Zac Hatfield-Dodds
diff --git a/contrib/python/hypothesis/py3/hypothesis/database.py b/contrib/python/hypothesis/py3/hypothesis/database.py
index 9fbdd31597..b53e8b8d5f 100644
--- a/contrib/python/hypothesis/py3/hypothesis/database.py
+++ b/contrib/python/hypothesis/py3/hypothesis/database.py
@@ -349,8 +349,8 @@ class GitHubArtifactDatabase(ExampleDatabase):
You must provide ``GITHUB_TOKEN`` as an environment variable. In CI, Github Actions provides
this automatically, but it needs to be set manually for local usage. In a developer machine,
this would usually be a `Personal Access Token <https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token>`_.
- If the repository is private, it's necessary for the token to have `repo` scope
- in the case of a classic token, or `actions:read` in the case of a fine-grained token.
+ If the repository is private, it's necessary for the token to have ``repo`` scope
+ in the case of a classic token, or ``actions:read`` in the case of a fine-grained token.
In most cases, this will be used
@@ -400,9 +400,9 @@ class GitHubArtifactDatabase(ExampleDatabase):
does not support downloading artifacts from previous workflow runs.
The database automatically implements a simple file-based cache with a default expiration period
- of 1 day. You can adjust this through the `cache_timeout` property.
+ of 1 day. You can adjust this through the ``cache_timeout`` property.
- For mono-repo support, you can provide a unique `artifact_name` (e.g. `hypofuzz-example-db-frontend`).
+ For mono-repo support, you can provide a unique ``artifact_name`` (e.g. ``hypofuzz-example-db-frontend``).
"""
def __init__(
diff --git a/contrib/python/hypothesis/py3/hypothesis/extra/ghostwriter.py b/contrib/python/hypothesis/py3/hypothesis/extra/ghostwriter.py
index fde70caf75..68e6a85c29 100644
--- a/contrib/python/hypothesis/py3/hypothesis/extra/ghostwriter.py
+++ b/contrib/python/hypothesis/py3/hypothesis/extra/ghostwriter.py
@@ -1610,7 +1610,7 @@ def binary_operation(
While :wikipedia:`binary operations <Binary_operation>` are not particularly
common, they have such nice properties to test that it seems a shame not to
- demonstrate them with a ghostwriter. For an operator `f`, test that:
+ demonstrate them with a ghostwriter. For an operator ``f``, test that:
- if :wikipedia:`associative <Associative_property>`,
``f(a, f(b, c)) == f(f(a, b), c)``
diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py
index 800a8c4e56..234b8de822 100644
--- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py
+++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py
@@ -2124,6 +2124,8 @@ class DataObject:
self.count = 0
self.conjecture_data = data
+ __signature__ = Signature() # hide internals from Sphinx introspection
+
def __repr__(self):
return "data(...)"
@@ -2182,7 +2184,7 @@ def data() -> SearchStrategy[DataObject]:
complete information.
Examples from this strategy do not shrink (because there is only one),
- but the result of calls to each draw() call shrink as they normally would.
+ but the result of calls to each ``data.draw()`` call shrink as they normally would.
"""
return DataStrategy()
diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py
index 00661fde99..10be563628 100644
--- a/contrib/python/hypothesis/py3/hypothesis/version.py
+++ b/contrib/python/hypothesis/py3/hypothesis/version.py
@@ -8,5 +8,5 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.
-__version_info__ = (6, 97, 3)
+__version_info__ = (6, 97, 4)
__version__ = ".".join(map(str, __version_info__))
diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make
index 38361352c0..e0530c7a9e 100644
--- a/contrib/python/hypothesis/py3/ya.make
+++ b/contrib/python/hypothesis/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.97.3)
+VERSION(6.97.4)
LICENSE(MPL-2.0)