Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
< 2.0
-><2.2
<2.0.0
-><2.1.1
Release Notes
hamcrest/PyHamcrest (PyHamcrest)
v2.1.0
Compare Source
===========================
Features
#​171 <https://github.com/hamcrest/PyHamcrest/issues/171>
_)Bugfixes
describe_keyvalue
method (#​182 <https://github.com/hamcrest/PyHamcrest/issues/182>
_)v2.0.4
Compare Source
==========================================
Bugfixes
has_properties
now returnsMatcher[Any]
type, which addresses type checking errors when nested as a matcher. (#​207 <https://github.com/hamcrest/PyHamcrest/issues/207>
_)#​207 <https://github.com/hamcrest/PyHamcrest/issues/207>
_Features
^^^^^^^^
#​206 <https://github.com/hamcrest/PyHamcrest/issues/206>
_Misc ^^^^
#​175 <https://github.com/hamcrest/PyHamcrest/issues/175>
_2.0.3 (2021-12-12)
Features
^^^^^^^^
#​141 <https://github.com/hamcrest/PyHamcrest/issues/141>
_#​160 <https://github.com/hamcrest/PyHamcrest/issues/160>
_#​170 <https://github.com/hamcrest/PyHamcrest/issues/170>
_Bugfixes
^^^^^^^^
Test coverage is now submitted to codecov.io.
Fixed by #150
#​135 <https://github.com/hamcrest/PyHamcrest/issues/135>
_Change to the
has_entry()
matcher - if exactly one key matches, but the value does not, report only the mismatching value.Fixed by #157
#​156 <https://github.com/hamcrest/PyHamcrest/issues/156>
_#​180 <https://github.com/hamcrest/PyHamcrest/issues/180>
_Misc ^^^^
#​150 <https://github.com/hamcrest/PyHamcrest/issues/150>
,#​159 <https://github.com/hamcrest/PyHamcrest/issues/159>
,#​162 <https://github.com/hamcrest/PyHamcrest/issues/162>
,#​163 <https://github.com/hamcrest/PyHamcrest/issues/163>
,#​166 <https://github.com/hamcrest/PyHamcrest/issues/166>
,#​175 <https://github.com/hamcrest/PyHamcrest/issues/175>
Version 2.0.2
Various type hint bug fixes.
Version 2.0.1
Version 2.0.0
Drop formal support for 2.x
Drop formal support for 3.x < 3.5
Fix #128 - raises() grows support for additional matchers on exception object.
Version 1.10.1
Add support up to Python 3.8
Fix #66 - deprecate contains() in favour of contains_exactly().
Fix #72 - make has_properties mismatch description less verbose by adding option to AllOf not to include matcher description in its mismatch messages.
Fix #82 - include exception details in mismatch description.
Version 1.9.0
Drop formal support for 2.x < 2.7
Drop formal support for 3.x < 3.4
Fix #62 - Return result of a deferred call
Version 1.8.5
Fix #56 - incorrect handling of () in
is_
matcherFix #60 - correct calling API call with args
Version 1.8.4
Version 1.8.3
Version 1.8.2
Version 1.8.1
not_
alias for is_not [Matteo Bertini]Version 1.8
Version 1.7
2 Sep 2013 (Version 1.7.2)
Supported versions
Bug fixes:
5 Jan 2010 (Version 1.7.1)
29 Dec 2012
(All changes by Chris Rose unless otherwise noted.)
New matchers:
Improvements:
pseudo-sequences.
Version 1.6
27 Sep 2011
(All changes by Chris Rose unless otherwise noted.)
has_entries({'key' : value_matcher, 'key_2' : other_value_matcher})
has_entries(key=value_matcher, key_2=other_value_matcher)
Version 1.5
29 Apr 2011
Packaging:
Mock integration:
New matcher:
Improved matchers:
Version 1.4
13 Feb 2011
New matchers:
"assert_that" can be invoked with a single boolean argument; the reason message is now optional. This is a convenience replacement for assertTrue. Thanks to: Jeong-Min Lee
Improved descriptions:
is_
" no longer says "is ..." in its description, but just lets the inner description pass through.Version 1.3
04 Feb 2011
PyHamcrest is now compatible with Python 3! To install PyHamcrest on Python 3:
Unit tests are not converted by the install procedure. Run "2to3 -nw ." separately to convert them. You may discover import statements in the init.py files (and one in core/base_description.py) that need dot prefixes.
Thanks to: Jeong-Min Lee
Improved descriptions and mismatch descriptions of several matchers, including:
Version 1.2.1
04 Jan 2011
Fixed "assert_that" to describe the diagnosis of the mismatch, not just the
mismatched value. PyHamcrest will now give even more useful information.
Expanded BaseDescription.append_description_of to handle all types of values, not just self-describing values.
Deprecated:
1.2.1 fixes to 1.2:
Version 1.1
28 Dec 2010
New matchers:
Added Sphinx documentation support.
Version 1.0
04 Dec 2010
15 Jan 2008
v2.0.3
Compare Source
Features
^^^^^^^^
#​141 <https://github.com/hamcrest/PyHamcrest/issues/141>
_#​160 <https://github.com/hamcrest/PyHamcrest/issues/160>
_#​170 <https://github.com/hamcrest/PyHamcrest/issues/170>
_Bugfixes
^^^^^^^^
Test coverage is now submitted to codecov.io.
Fixed by #150
#​135 <https://github.com/hamcrest/PyHamcrest/issues/135>
_Change to the
has_entry()
matcher - if exactly one key matches, but the value does not, report only the mismatching value.Fixed by #157
#​156 <https://github.com/hamcrest/PyHamcrest/issues/156>
_#​180 <https://github.com/hamcrest/PyHamcrest/issues/180>
_Misc ^^^^
#​150 <https://github.com/hamcrest/PyHamcrest/issues/150>
,#​159 <https://github.com/hamcrest/PyHamcrest/issues/159>
,#​162 <https://github.com/hamcrest/PyHamcrest/issues/162>
,#​163 <https://github.com/hamcrest/PyHamcrest/issues/163>
,#​166 <https://github.com/hamcrest/PyHamcrest/issues/166>
,#​175 <https://github.com/hamcrest/PyHamcrest/issues/175>
v2.0.2
Compare Source
Various type hint bug fixes.
v2.0.1
Compare Source
v2.0.0
Compare Source
Drop formal support for 2.x
Drop formal support for 3.x < 3.5
Fix #128 - raises() grows support for additional matchers on exception object.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.