hypothesis 6.135.4__py3-none-any.whl → 6.135.5__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/core.py +14 -1
- hypothesis/version.py +1 -1
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/METADATA +1 -1
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/RECORD +8 -8
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/WHEEL +0 -0
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/entry_points.txt +0 -0
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/licenses/LICENSE.txt +0 -0
- {hypothesis-6.135.4.dist-info → hypothesis-6.135.5.dist-info}/top_level.txt +0 -0
hypothesis/core.py
CHANGED
@@ -1781,7 +1781,20 @@ def given(
|
|
1781
1781
|
if inspect.isclass(test):
|
1782
1782
|
# Provide a meaningful error to users, instead of exceptions from
|
1783
1783
|
# internals that assume we're dealing with a function.
|
1784
|
-
raise InvalidArgument("@given cannot be applied to a class
|
1784
|
+
raise InvalidArgument("@given cannot be applied to a class")
|
1785
|
+
|
1786
|
+
if (
|
1787
|
+
"_pytest" in sys.modules
|
1788
|
+
and (
|
1789
|
+
tuple(map(int, sys.modules["_pytest"].__version__.split(".")[:2]))
|
1790
|
+
>= (8, 4)
|
1791
|
+
)
|
1792
|
+
and isinstance(
|
1793
|
+
test, sys.modules["_pytest"].fixtures.FixtureFunctionDefinition
|
1794
|
+
)
|
1795
|
+
): # pragma: no cover # covered by pytest/test_fixtures, but not by cover/
|
1796
|
+
raise InvalidArgument("@given cannot be applied to a pytest fixture")
|
1797
|
+
|
1785
1798
|
given_arguments = tuple(_given_arguments)
|
1786
1799
|
given_kwargs = dict(_given_kwargs)
|
1787
1800
|
|
hypothesis/version.py
CHANGED
@@ -5,7 +5,7 @@ hypothesis/__init__.py,sha256=-l2jKA8BwEWYTJoebvxmhJjA3M_K9qsMRu5CCNVCDFs,1624
|
|
5
5
|
hypothesis/_settings.py,sha256=FGEckgd43ifGBrGcP8pN0YiVu74ZZl2IqghgUZBPUPI,39049
|
6
6
|
hypothesis/configuration.py,sha256=ruHxaoUFm9_gjyFhloszHF8wt-_yW8FQtWfMXFLwdzc,4341
|
7
7
|
hypothesis/control.py,sha256=6zyn0hDDOt5FugCpD2vw1UJFn3uYwd7lpYqMLoHpOgQ,12625
|
8
|
-
hypothesis/core.py,sha256=
|
8
|
+
hypothesis/core.py,sha256=SNleVqFMjWOtrPYByAbl0XBqkTnHKq12-fKbK0kWEQw,92576
|
9
9
|
hypothesis/database.py,sha256=kn4BIwA-avXJSQoNq0aNpFehaO54K-ltpXf3sRKv9rA,46785
|
10
10
|
hypothesis/entry_points.py,sha256=aY9iTAiu1GaLljqqXFcMBgipZQ60RBOwwvPVmEr1lQE,1440
|
11
11
|
hypothesis/errors.py,sha256=fci2Xe3kUIEBZ92361vot2f7IRjtfEn1aI1Bdf8vfRU,10048
|
@@ -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=vQ8wDO7YW-8nGlBGLfR9ariwmRCS9jxJy-Ky3swXjDE,42861
|
16
16
|
hypothesis/statistics.py,sha256=kZ5mc0fAg7gnSO6EmDo82fyz8DYhIiJ_mHe7srxOeQ0,5438
|
17
|
-
hypothesis/version.py,sha256=
|
17
|
+
hypothesis/version.py,sha256=1KUUVcYo3Qi08mwoUMHkDMvLESX7R48nZxsi3ewaNpY,498
|
18
18
|
hypothesis/extra/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
|
19
19
|
hypothesis/extra/_array_helpers.py,sha256=Sdr_lUQPBCXOhtY2TQpuXoiXErOZomNVuFU5FZWZLXQ,27624
|
20
20
|
hypothesis/extra/_patching.py,sha256=pLgtFBgwDEotw6Pu8ZfJbkE5Qk5F1H3IH5EPUo0Ngm4,10869
|
@@ -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.5.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
|
109
|
+
hypothesis-6.135.5.dist-info/METADATA,sha256=exQ0yKMoxXfAWzAPFiFyhGCQuuQuzPWpRA7coWSaOwg,5637
|
110
|
+
hypothesis-6.135.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
111
|
+
hypothesis-6.135.5.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
|
112
|
+
hypothesis-6.135.5.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
|
113
|
+
hypothesis-6.135.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|