Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-40421: test_capi uses assertEqual(), not assertEquals() #32361

Merged
merged 1 commit into from
Apr 6, 2022
Merged

bpo-40421: test_capi uses assertEqual(), not assertEquals() #32361

merged 1 commit into from
Apr 6, 2022

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.

None yet

3 participants