hypothesis 6.167.0__tar.gz → 6.167.1__tar.gz
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-6.167.0 → hypothesis-6.167.1}/PKG-INFO +1 -1
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/Cargo.lock +1 -1
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/Cargo.toml +1 -1
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/utils.py +5 -3
- {hypothesis-6.167.0 → hypothesis-6.167.1}/LICENSE.txt +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/pyproject.toml +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/.cargo/config.toml +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/src/internal/cathetus.rs +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/src/internal/floats.rs +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/src/internal/mod.rs +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/src/lib.rs +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/rust/tests/embedded/internal/test_floats.rs +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/_hypothesis_ftz_detector.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/_hypothesis_globals.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/_hypothesis_pytestplugin.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/_settings.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/configuration.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/control.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/core.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/database.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/entry_points.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/errors.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/_array_helpers.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/_patching.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/array_api.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/cli.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/codemods.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/dateutil.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/django/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/django/_fields.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/django/_impl.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/dpcontracts.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/ghostwriter.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/lark.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/numpy.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/pandas/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/pandas/impl.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/pytestplugin.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/pytz.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/extra/redis.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/cache.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/charmap.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/compat.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/choice.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/data.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/datatree.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/engine.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/floats.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/junkdrawer.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/optimiser.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/pareto.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/provider_conformance.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/providers.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinker.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/bytes.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/choicetree.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/collection.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/common.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/floats.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/integer.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/ordering.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/string.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/constants_ast.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/coverage.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/detection.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/entropy.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/escalation.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/filtering.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/floats.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/healthcheck.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/intervalsets.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/lambda_sources.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/observability.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/reflection.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/scrutineer.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/statistics.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/validation.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/provisional.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/py.typed +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/reporting.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/stateful.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/statistics.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/attrs.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/collections.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/core.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/datetime.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/deferred.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/featureflags.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/flatmapped.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/functions.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/ipaddress.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/lazy.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/misc.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/numbers.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/random.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/recursive.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/regex.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/shared.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/strategies.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/strings.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/types.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/utils.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/conventions.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/deprecation.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/dynamicvariables.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/terminal.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/utils/threading.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/vendor/__init__.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/vendor/pretty.py +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/vendor/tlds-alpha-by-domain.txt +0 -0
- {hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/version.py +0 -0
|
@@ -295,9 +295,9 @@ class many:
|
|
|
295
295
|
self.rejected = False
|
|
296
296
|
self.observe = observe
|
|
297
297
|
|
|
298
|
-
def stop_span(self):
|
|
298
|
+
def stop_span(self, *, discard: bool = False) -> None:
|
|
299
299
|
if self.observe:
|
|
300
|
-
self.data.stop_span()
|
|
300
|
+
self.data.stop_span(discard=discard)
|
|
301
301
|
|
|
302
302
|
def start_span(self, label):
|
|
303
303
|
if self.observe:
|
|
@@ -306,7 +306,9 @@ class many:
|
|
|
306
306
|
def more(self) -> bool:
|
|
307
307
|
"""Should I draw another element to add to the collection?"""
|
|
308
308
|
if self.drawn:
|
|
309
|
-
|
|
309
|
+
# A rejected element does not contribute to the collection, so
|
|
310
|
+
# discard its span - the shrinker can then delete it wholesale.
|
|
311
|
+
self.stop_span(discard=self.rejected)
|
|
310
312
|
|
|
311
313
|
self.drawn = True
|
|
312
314
|
self.rejected = False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/provider_conformance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/__init__.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/bytes.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/choicetree.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/collection.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/common.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/floats.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/integer.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/ordering.py
RENAMED
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/internal/conjecture/shrinking/string.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/collections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hypothesis-6.167.0 → hypothesis-6.167.1}/src/hypothesis/strategies/_internal/featureflags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|