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.
@@ -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
- if drawn_strat_label != strat_label:
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
- )
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
@@ -8,5 +8,5 @@
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, 135, 14)
11
+ __version_info__ = (6, 135, 15)
12
12
  __version__ = ".".join(map(str, __version_info__))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypothesis
3
- Version: 6.135.14
3
+ Version: 6.135.15
4
4
  Summary: A library for property-based testing
5
5
  Author-email: "David R. MacIver and Zac Hatfield-Dodds" <david@drmaciver.com>
6
6
  License-Expression: MPL-2.0
@@ -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=uVRLrYsnZAaYwocrBVavkHP9zv5eHbqliGh3Ab5heVs,499
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=xoLb-wpVru5rq4Ab6L7GIo3JVl8IviWw1We8Hb4I5C8,2461
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.14.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
109
- hypothesis-6.135.14.dist-info/METADATA,sha256=qWU8ezZvF9cOxsd6Iz4ZzzGbCAeF2bzTkJ9yaIEzZ6Y,5638
110
- hypothesis-6.135.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
111
- hypothesis-6.135.14.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
112
- hypothesis-6.135.14.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
113
- hypothesis-6.135.14.dist-info/RECORD,,
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,,