diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-02-27 16:27:23 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-02-27 17:00:48 +0300 |
commit | 6c35e9daf4dc86464e1a262236b8d3593e690ee5 (patch) | |
tree | 2727d5da08d12182c1a705ec7213a6b97f5da521 /contrib/python/hypothesis/py3 | |
parent | 6fa64684d15341dd701bf1498ecafdd764d5f097 (diff) | |
download | ydb-6c35e9daf4dc86464e1a262236b8d3593e690ee5.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/hypothesis/py3')
5 files changed, 12 insertions, 11 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA index c900020993..0b48218e7a 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.98.3 +Version: 6.98.4 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/extra/_patching.py b/contrib/python/hypothesis/py3/hypothesis/extra/_patching.py index 2660e04a90..8f53076d72 100644 --- a/contrib/python/hypothesis/py3/hypothesis/extra/_patching.py +++ b/contrib/python/hypothesis/py3/hypothesis/extra/_patching.py @@ -86,7 +86,7 @@ class AddExamplesCodemod(VisitorBasedCodemodCommand): # Codemod the failing examples to Call nodes usable as decorators self.fn_examples = { - k: tuple(self.__call_node_to_example_dec(ex, via) for ex, via in nodes) + k: tuple(d for x in nodes if (d := self.__call_node_to_example_dec(*x))) for k, nodes in fn_examples.items() } @@ -116,10 +116,13 @@ class AddExamplesCodemod(VisitorBasedCodemodCommand): args=[cst.Arg(cst.SimpleString(repr(via)))], ) if black: # pragma: no branch - pretty = black.format_str( - cst.Module([]).code_for_node(via), - mode=black.FileMode(line_length=self.line_length), - ) + try: + pretty = black.format_str( + cst.Module([]).code_for_node(via), + mode=black.FileMode(line_length=self.line_length), + ) + except ImportError: + return None # See https://github.com/psf/black/pull/4224 via = cst.parse_expression(pretty.strip()) return cst.Decorator(via) diff --git a/contrib/python/hypothesis/py3/hypothesis/vendor/tlds-alpha-by-domain.txt b/contrib/python/hypothesis/py3/hypothesis/vendor/tlds-alpha-by-domain.txt index c520fc063e..167e07e0e7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/vendor/tlds-alpha-by-domain.txt +++ b/contrib/python/hypothesis/py3/hypothesis/vendor/tlds-alpha-by-domain.txt @@ -1,4 +1,4 @@ -# Version 2024020300, Last Updated Sat Feb 3 07:07:01 2024 UTC +# Version 2024021000, Last Updated Sat Feb 10 07:07:02 2024 UTC AAA AARP ABB @@ -260,7 +260,6 @@ COFFEE COLLEGE COLOGNE COM -COMCAST COMMBANK COMMUNITY COMPANY @@ -1274,7 +1273,6 @@ WTC WTF XBOX XEROX -XFINITY XIHUAN XIN XN--11B4C3D diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py index 2dddb0e5f2..8a33e96d3d 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, 98, 3) +__version_info__ = (6, 98, 4) __version__ = ".".join(map(str, __version_info__)) diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make index d818e87ba6..bd45605d1c 100644 --- a/contrib/python/hypothesis/py3/ya.make +++ b/contrib/python/hypothesis/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(6.98.3) +VERSION(6.98.4) LICENSE(MPL-2.0) |