diff options
| author | robot-piglet <[email protected]> | 2024-08-21 01:59:56 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-08-21 02:07:42 +0300 |
| commit | d18b988a03fd41daa2ae012f6a4c52fa19f8e96a (patch) | |
| tree | 49eb34ccce56b858f8e036fc2f64cd2e646f625e /contrib/python/hypothesis/py3 | |
| parent | 9960bc359ba411fc8799627e470458da4e6a92a2 (diff) | |
Intermediate changes
Diffstat (limited to 'contrib/python/hypothesis/py3')
4 files changed, 7 insertions, 4 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA index 557900da698..fa7fb921112 100644 --- a/contrib/python/hypothesis/py3/.dist-info/METADATA +++ b/contrib/python/hypothesis/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hypothesis -Version: 6.108.8 +Version: 6.108.9 Summary: A library for property-based testing Home-page: https://hypothesis.works Author: David R. MacIver and Zac Hatfield-Dodds diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py index 71f2ccc0b59..91f731cf44d 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py @@ -999,7 +999,10 @@ class ConjectureRunner: self._current_phase = "generate" prefix = self.generate_novel_prefix() - assert len(prefix) <= BUFFER_SIZE + # it is possible, if unlikely, to generate a > BUFFER_SIZE novel prefix, + # as nodes in the novel tree may be variable sized due to eg integer + # probe retries. + prefix = prefix[:BUFFER_SIZE] if ( self.valid_examples <= small_example_cap and self.call_count <= 5 * small_example_cap diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py index f800a2e0aae..d711a8c3832 100644 --- a/contrib/python/hypothesis/py3/hypothesis/version.py +++ b/contrib/python/hypothesis/py3/hypothesis/version.py @@ -8,5 +8,5 @@ # v. 2.0. If a copy of the MPL was not distributed with this file, You can # obtain one at https://mozilla.org/MPL/2.0/. -__version_info__ = (6, 108, 8) +__version_info__ = (6, 108, 9) __version__ = ".".join(map(str, __version_info__)) diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make index 65d6b4d7697..d5dcf568450 100644 --- a/contrib/python/hypothesis/py3/ya.make +++ b/contrib/python/hypothesis/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(6.108.8) +VERSION(6.108.9) LICENSE(MPL-2.0) |
