-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Closed
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suitegood first issue
Description
Currently, when using assert_produces_warning
with match=
, the error message is not helpful. e.g.:
E AssertionError: Did not see warning 'FutureWarning' matching The default value of regex wilt change from True to False in a future version\.$
I think it should show the diff of the message, like pytest does
Metadata
Metadata
Assignees
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suitegood first issue