Repository navigation
Conversation
Boulea7
requested a deployment
to
publish-test-release
December 3, 2026 06:38 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #217.
StringDescriptionnow describesequal_to(3)asa value equal to <3>. This makes the comparison visible when a matcher is displayed on its own or inside a compound expression. For example,any_of(equal_to(3), greater_than(4))now reads(a value equal to <3> or a value greater than <4>).Matchers that implicitly wrap literal values keep their existing descriptions. An assertion such as
assert_that(value, equal_to(3))includes the comparison on theExpectedline and still describes the actual value aswas …. Compound matchers that include a child matcher in their mismatch message also show the comparison there.The tests cover explicit and implicit comparisons, nested matchers and the stored state used by earlier releases. I also checked the diagnostics from a real Behave feature against PyHamcrest 2.1.0 and the candidate.