Repository navigation
#12451 Resolve warnings of testing library - #12450
Conversation
Signed-off-by: Emmanuel Ferdman <[email protected]>
CodSpeed Performance ReportMerging #12450 will not alter performanceComparing Summary
|
|
Thanks for the PR. Much appreciated. I have created a dedicated ticket and release notes placehoder to get all our automated tests / checks pass and be ready to land this Just asking: Is there any way in which we can prevent regressions in the future ? What is stoping a developer to introduce code in the future PR that uses unittest.assertEquals ? |
|
We have this ticket #6348 and maybe we can do some work there. Of couse, this can be merged as part of the cleanup work |
|
I guess that we can get this reviewed and merge even if we can't prevent regressions, this is better than what we have in needs-review |
|
We should run the tests with |
adiroiban
left a comment
There was a problem hiding this comment.
Thanks for the PR.
It looks good.
It should help prevent accidentaly copy/paste errors when writing new tests
we should look into a permanent solution to automatically detect deprecation warnings ... but that can be done in a separate ticket/PR
Thanks again
Scope and purpose
Fixes #12451
As its written in the test-standard, this PR migrates from
unittest.assertEqualstounittest.assertEqualwhich is deprecated from Python2.7: