Skip to content

ENH: Call str on the third argument of assert_equal()#17011

Closed
asmeurer wants to merge 3 commits intonumpy:mainfrom
asmeurer:assert_equal_str_msg
Closed

ENH: Call str on the third argument of assert_equal()#17011
asmeurer wants to merge 3 commits intonumpy:mainfrom
asmeurer:assert_equal_str_msg

Conversation

@asmeurer
Copy link
Member

@asmeurer asmeurer commented Aug 4, 2020

This lets you pass any object, similar to how you would do for a native Python

assert a == b, msg

This lets you pass any object, similar to how you would do for a native Python

assert a == b, msg
@charris charris changed the title Call str on the third argument of assert_equal() ENH: Call str on the third argument of assert_equal() Aug 6, 2020
@charris
Copy link
Member

charris commented Aug 6, 2020

Should add a release note for this, probably under improvement.

@charris
Copy link
Member

charris commented Dec 16, 2020

@asmeurer Ping

@charris
Copy link
Member

charris commented Dec 16, 2020

Needs rebase to fix the CircleCI failure.

Base automatically changed from master to main March 4, 2021 02:05
@asmeurer asmeurer force-pushed the assert_equal_str_msg branch from cc27295 to 06670b5 Compare June 11, 2021 22:40
@mattip
Copy link
Member

mattip commented Mar 10, 2022

@asmeurer ping. Do you wish to pursue this?

@rgommers
Copy link
Member

Finished up in gh-24877, so closing this. Thanks @asmeurer & reviewers.

@rgommers rgommers closed this Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants