Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 6, 2022

unittest.TestCase.assertEquals() alias is depracated. Fix the
warning:

Lib/test/test_capi.py:1100: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(frame.f_locals, _testcapi.frame_getlocals(frame))

https://bugs.python.org/issue40421

unittest.TestCase.assertEquals() alias is depracated. Fix the
warning:

Lib/test/test_capi.py:1100: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(frame.f_locals, _testcapi.frame_getlocals(frame))
@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Apr 6, 2022
@vstinner vstinner merged commit 14a9b48 into python:main Apr 6, 2022
@vstinner vstinner deleted the fix_test_capi_warn branch April 6, 2022 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants