diff options
| author | robot-piglet <[email protected]> | 2025-09-10 15:34:55 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-09-10 15:52:03 +0300 |
| commit | b0091b5ec4e788ed216c0a23786c921307b79b0a (patch) | |
| tree | 4da0bd43ceae17f84820956bcd3801cdb8c0ebb8 /contrib/python/PyHamcrest/py3/patches/04-pr130.patch | |
| parent | 3f573d26f7b92eb46dfff503d68a5897c96386ce (diff) | |
Intermediate changes
commit_hash:6b9536340f4f2533b62d862c22cbfeb121d4fa3f
Diffstat (limited to 'contrib/python/PyHamcrest/py3/patches/04-pr130.patch')
| -rw-r--r-- | contrib/python/PyHamcrest/py3/patches/04-pr130.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/python/PyHamcrest/py3/patches/04-pr130.patch b/contrib/python/PyHamcrest/py3/patches/04-pr130.patch new file mode 100644 index 00000000000..e95f47a8483 --- /dev/null +++ b/contrib/python/PyHamcrest/py3/patches/04-pr130.patch @@ -0,0 +1,11 @@ +--- contrib/python/PyHamcrest/py3/hamcrest/core/core/allof.py (index) ++++ contrib/python/PyHamcrest/py3/hamcrest/core/core/allof.py (working tree) +@@ -25,7 +25,7 @@ class AllOf(BaseMatcher): + found_mismatch = True + if not self.describe_all_mismatches: + break +- elif i < len(self.matchers) - 1: ++ elif i < len(self.matchers) - 1 and mismatch_description: + mismatch_description.append_text(' and ') + return not found_mismatch + |
