hypothesis 6.135.5__py3-none-any.whl → 6.135.7__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/database.py +7 -1
- hypothesis/extra/_array_helpers.py +3 -3
- hypothesis/version.py +1 -1
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/METADATA +1 -1
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/RECORD +9 -9
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/WHEEL +0 -0
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/entry_points.txt +0 -0
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/licenses/LICENSE.txt +0 -0
- {hypothesis-6.135.5.dist-info → hypothesis-6.135.7.dist-info}/top_level.txt +0 -0
hypothesis/database.py
CHANGED
@@ -567,7 +567,13 @@ class DirectoryBasedExampleDatabase(ExampleDatabase):
|
|
567
567
|
key_hash = value_path.parent.name
|
568
568
|
|
569
569
|
if key_hash == _metakeys_hash:
|
570
|
-
|
570
|
+
try:
|
571
|
+
hash_to_key[value_path.name] = value_path.read_bytes()
|
572
|
+
except OSError: # pragma: no cover
|
573
|
+
# this might occur if all the values in a key have been
|
574
|
+
# deleted and DirectoryBasedExampleDatabase removes its
|
575
|
+
# metakeys entry (which is `value_path` here`).
|
576
|
+
pass
|
571
577
|
return
|
572
578
|
|
573
579
|
key = hash_to_key.get(key_hash)
|
@@ -328,15 +328,15 @@ def _hypothesis_parse_gufunc_signature(signature):
|
|
328
328
|
raise InvalidArgument(
|
329
329
|
f"Got dimension {name!r}, but handling of frozen optional dimensions "
|
330
330
|
"is ambiguous. If you known how this should work, please "
|
331
|
-
"contact us to get this fixed and documented ({signature=})."
|
331
|
+
f"contact us to get this fixed and documented ({signature=})."
|
332
332
|
)
|
333
333
|
except ValueError:
|
334
334
|
names_in = {n.strip("?") for shp in input_shapes for n in shp}
|
335
335
|
names_out = {n.strip("?") for n in result_shape}
|
336
336
|
if name.strip("?") in (names_out - names_in):
|
337
337
|
raise InvalidArgument(
|
338
|
-
"The {name!r} dimension only appears in the output shape, and is "
|
339
|
-
"not frozen, so the size is not determined ({signature=})."
|
338
|
+
f"The {name!r} dimension only appears in the output shape, and is "
|
339
|
+
f"not frozen, so the size is not determined ({signature=})."
|
340
340
|
) from None
|
341
341
|
return _GUfuncSig(input_shapes=input_shapes, result_shape=result_shape)
|
342
342
|
|
hypothesis/version.py
CHANGED
@@ -6,7 +6,7 @@ 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
8
|
hypothesis/core.py,sha256=SNleVqFMjWOtrPYByAbl0XBqkTnHKq12-fKbK0kWEQw,92576
|
9
|
-
hypothesis/database.py,sha256=
|
9
|
+
hypothesis/database.py,sha256=2GOOU_3IClEZ-zTGoZPWicwHfH_VF6ANE-XsqFuuOZA,47131
|
10
10
|
hypothesis/entry_points.py,sha256=aY9iTAiu1GaLljqqXFcMBgipZQ60RBOwwvPVmEr1lQE,1440
|
11
11
|
hypothesis/errors.py,sha256=fci2Xe3kUIEBZ92361vot2f7IRjtfEn1aI1Bdf8vfRU,10048
|
12
12
|
hypothesis/provisional.py,sha256=AmYdLs9Yuz6wrJ8QDO8EOX8njGfoVdUFeccuca5khl4,8052
|
@@ -14,9 +14,9 @@ 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=d-zCITTEEu8cpXH2B5XV2DOcDRJYHRLHDNA5I83QjVY,498
|
18
18
|
hypothesis/extra/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
|
19
|
-
hypothesis/extra/_array_helpers.py,sha256=
|
19
|
+
hypothesis/extra/_array_helpers.py,sha256=PLmFckBfQpzQ4Q3dFJQqMmrbm7Qdvqxf1t9LHDCuSp0,27627
|
20
20
|
hypothesis/extra/_patching.py,sha256=pLgtFBgwDEotw6Pu8ZfJbkE5Qk5F1H3IH5EPUo0Ngm4,10869
|
21
21
|
hypothesis/extra/array_api.py,sha256=bv_wisQS56wvwg-LiC26DxvzmPxcNLzlbzmltFWZ_Jo,42609
|
22
22
|
hypothesis/extra/cli.py,sha256=HOH_BGosyUvS4yNDsWF4Dfe672tEFGT4BBPBuZamm1s,12885
|
@@ -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.7.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
|
109
|
+
hypothesis-6.135.7.dist-info/METADATA,sha256=gZG_kjSYwAYhCC7U6l7rU90A1aN206QkGMDvIzbft9U,5637
|
110
|
+
hypothesis-6.135.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
111
|
+
hypothesis-6.135.7.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
|
112
|
+
hypothesis-6.135.7.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
|
113
|
+
hypothesis-6.135.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|