hypothesis 6.135.14__py3-none-any.whl → 6.135.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hypothesis/strategies/_internal/shared.py +10 -10
- hypothesis/version.py +1 -1
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/METADATA +1 -1
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/RECORD +8 -8
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/WHEEL +0 -0
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/entry_points.txt +0 -0
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/licenses/LICENSE.txt +0 -0
- {hypothesis-6.135.14.dist-info → hypothesis-6.135.15.dist-info}/top_level.txt +0 -0
@@ -8,11 +8,9 @@
|
|
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
|
-
import warnings
|
12
11
|
from collections.abc import Hashable
|
13
12
|
from typing import Any, Optional
|
14
13
|
|
15
|
-
from hypothesis.errors import HypothesisWarning
|
16
14
|
from hypothesis.internal.conjecture.data import ConjectureData
|
17
15
|
from hypothesis.strategies._internal import SearchStrategy
|
18
16
|
from hypothesis.strategies._internal.strategies import Ex
|
@@ -49,12 +47,14 @@ class SharedStrategy(SearchStrategy[Ex]):
|
|
49
47
|
data._shared_strategy_draws[key] = (strat_label, drawn)
|
50
48
|
else:
|
51
49
|
drawn_strat_label, drawn = data._shared_strategy_draws[key]
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
50
|
+
# Check disabled pending resolution of #4301
|
51
|
+
if drawn_strat_label != strat_label: # pragma: no cover
|
52
|
+
pass
|
53
|
+
# warnings.warn(
|
54
|
+
# f"Different strategies are shared under {key=}. This"
|
55
|
+
# " risks drawing values that are not valid examples for the strategy,"
|
56
|
+
# " or that have a narrower range than expected.",
|
57
|
+
# HypothesisWarning,
|
58
|
+
# stacklevel=1,
|
59
|
+
# )
|
60
60
|
return drawn
|
hypothesis/version.py
CHANGED
@@ -14,7 +14,7 @@ hypothesis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
hypothesis/reporting.py,sha256=f-jhl1JfAi5_tG8dsUd2qDjGcPdvxEzfF6hXmpTFQ1g,1761
|
15
15
|
hypothesis/stateful.py,sha256=33U0FtVuRnY5EzIiCL50SHAT6ZPe1n2pbaohkxTF6gc,42955
|
16
16
|
hypothesis/statistics.py,sha256=kZ5mc0fAg7gnSO6EmDo82fyz8DYhIiJ_mHe7srxOeQ0,5438
|
17
|
-
hypothesis/version.py,sha256=
|
17
|
+
hypothesis/version.py,sha256=yQH1WfGbj5zh1_p5bM8O66Wc_ECrPbSG_2Xc822WVPU,499
|
18
18
|
hypothesis/extra/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
|
19
19
|
hypothesis/extra/_array_helpers.py,sha256=PLmFckBfQpzQ4Q3dFJQqMmrbm7Qdvqxf1t9LHDCuSp0,27627
|
20
20
|
hypothesis/extra/_patching.py,sha256=A5s5EAf81itr--w4SAFyzuecSZm4eT397jM7BvbnQXU,12385
|
@@ -93,7 +93,7 @@ hypothesis/strategies/_internal/numbers.py,sha256=unNWkR1wkg8XFSfJK-vpDY9n72kMVT
|
|
93
93
|
hypothesis/strategies/_internal/random.py,sha256=_gSBHa0gXF4RZxjBySB43vNHsU34r8NDylPsHUyCPkQ,13449
|
94
94
|
hypothesis/strategies/_internal/recursive.py,sha256=BgchGM4dLo02FKQJlkNyyJlBOBf6266YlhcoQbYVVGA,3757
|
95
95
|
hypothesis/strategies/_internal/regex.py,sha256=wGvC-S_sFO3RAajUu3hL-_5ORqsTv69CJex6QiPKI0w,21669
|
96
|
-
hypothesis/strategies/_internal/shared.py,sha256=
|
96
|
+
hypothesis/strategies/_internal/shared.py,sha256=dEYVAjCWFjojG6EGIoiU3OMBlzGcIaelm0KmxjMwo6k,2509
|
97
97
|
hypothesis/strategies/_internal/strategies.py,sha256=F91MvpD3PtozlZ_KN1lHFHoR90ORVAwYC_4LzgGOYjw,47585
|
98
98
|
hypothesis/strategies/_internal/strings.py,sha256=UYm6d1z5c55AUYKrwJ1xnfharl81dy-q_2f0YFZbzmw,13987
|
99
99
|
hypothesis/strategies/_internal/types.py,sha256=epJg-yW_TZZHaqZvBJhsnwi4ahDOPAyz98PRn_OaeK4,41837
|
@@ -105,9 +105,9 @@ hypothesis/utils/terminal.py,sha256=IxGYDGaE4R3b_vMfz5buWbN18XH5qVP4IxqAgNAU5as,
|
|
105
105
|
hypothesis/vendor/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
|
106
106
|
hypothesis/vendor/pretty.py,sha256=WEZC-UV-QQgCjUf2Iz1WWaWnbgT7Hc3s-GWEVxq-Qz0,36114
|
107
107
|
hypothesis/vendor/tlds-alpha-by-domain.txt,sha256=W9hYvpu2BMmNgE-SfPp8-GTzEVjw0HJUviqlvHwpZu8,9588
|
108
|
-
hypothesis-6.135.
|
109
|
-
hypothesis-6.135.
|
110
|
-
hypothesis-6.135.
|
111
|
-
hypothesis-6.135.
|
112
|
-
hypothesis-6.135.
|
113
|
-
hypothesis-6.135.
|
108
|
+
hypothesis-6.135.15.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
|
109
|
+
hypothesis-6.135.15.dist-info/METADATA,sha256=IPPb1U79n7iXHNUvTXEZqYBaDssBHlHrt3MJ1IGrlYY,5638
|
110
|
+
hypothesis-6.135.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
111
|
+
hypothesis-6.135.15.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
|
112
|
+
hypothesis-6.135.15.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
|
113
|
+
hypothesis-6.135.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|