hypothesis 6.135.12__py3-none-any.whl → 6.135.13__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/internal/reflection.py +1 -1
- hypothesis/stateful.py +6 -2
- hypothesis/version.py +1 -1
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/METADATA +1 -1
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/RECORD +9 -9
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/WHEEL +0 -0
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/entry_points.txt +0 -0
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/licenses/LICENSE.txt +0 -0
- {hypothesis-6.135.12.dist-info → hypothesis-6.135.13.dist-info}/top_level.txt +0 -0
@@ -453,7 +453,7 @@ def get_pretty_function_description(f: object) -> str:
|
|
453
453
|
return pretty(f)
|
454
454
|
if not hasattr(f, "__name__"):
|
455
455
|
return repr(f)
|
456
|
-
name = f.__name__ # type: ignore
|
456
|
+
name = f.__name__ # type: ignore
|
457
457
|
if name == "<lambda>":
|
458
458
|
return extract_lambda_source(f)
|
459
459
|
elif isinstance(f, (types.MethodType, types.BuiltinMethodType)):
|
hypothesis/stateful.py
CHANGED
@@ -504,8 +504,12 @@ class Rule:
|
|
504
504
|
self.bundles = tuple(bundles)
|
505
505
|
|
506
506
|
def __repr__(self) -> str:
|
507
|
-
|
508
|
-
|
507
|
+
bits = [
|
508
|
+
f"{field.name}="
|
509
|
+
f"{get_pretty_function_description(getattr(self, field.name))}"
|
510
|
+
for field in dataclasses.fields(self)
|
511
|
+
if getattr(self, field.name)
|
512
|
+
]
|
509
513
|
return f"{self.__class__.__name__}({', '.join(bits)})"
|
510
514
|
|
511
515
|
|
hypothesis/version.py
CHANGED
@@ -12,9 +12,9 @@ hypothesis/errors.py,sha256=fci2Xe3kUIEBZ92361vot2f7IRjtfEn1aI1Bdf8vfRU,10048
|
|
12
12
|
hypothesis/provisional.py,sha256=AmYdLs9Yuz6wrJ8QDO8EOX8njGfoVdUFeccuca5khl4,8052
|
13
13
|
hypothesis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
hypothesis/reporting.py,sha256=f-jhl1JfAi5_tG8dsUd2qDjGcPdvxEzfF6hXmpTFQ1g,1761
|
15
|
-
hypothesis/stateful.py,sha256=
|
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=7K66pN_oQPeh0-Pp2Mw7lPtnPjXfrOk1Iyy-Q4F3p08,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
|
@@ -49,7 +49,7 @@ hypothesis/internal/floats.py,sha256=0roRf0uHc-2sslppMGoFd--QFCeoO9PcdsM0ltgcQUc
|
|
49
49
|
hypothesis/internal/healthcheck.py,sha256=JbCvnqtnulVne3egNMWY8koRqeKqhB8P0Wm0jn34As4,1130
|
50
50
|
hypothesis/internal/intervalsets.py,sha256=hlg3wQ5vYYbyEpQe8g_3MxwHSJ1wzS3_ccma259jE5E,11952
|
51
51
|
hypothesis/internal/observability.py,sha256=X2w1_CfpLZoSHGGHVRBEhxEpkjCTbie_Uyz5x4B5K_M,14291
|
52
|
-
hypothesis/internal/reflection.py,sha256=
|
52
|
+
hypothesis/internal/reflection.py,sha256=fjhHxU5AR3h4u5au6jCCSIPHHVTi7sk553TZT9FgY5k,25248
|
53
53
|
hypothesis/internal/scrutineer.py,sha256=OtkCbUI8XIsVdOzo5oU_4vfINCggNNM-DjrLNOfYIOQ,11531
|
54
54
|
hypothesis/internal/validation.py,sha256=jLs1GGf9Jf5Qp_g8JRZR8VGcV_ICw9wXsWIN5fb1WA8,4168
|
55
55
|
hypothesis/internal/conjecture/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
|
@@ -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.13.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
|
109
|
+
hypothesis-6.135.13.dist-info/METADATA,sha256=bzpeanOB2or_iIHo0kEptUdSMhIscS8VcDz_22BL33Y,5638
|
110
|
+
hypothesis-6.135.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
111
|
+
hypothesis-6.135.13.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
|
112
|
+
hypothesis-6.135.13.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
|
113
|
+
hypothesis-6.135.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|