]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)
authorVictor Stinner <vstinner@python.org>
Wed, 6 Apr 2022 13:12:38 +0000 (15:12 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 13:12:38 +0000 (15:12 +0200)
commit14a9b4895b61bcd46ed968c43c5eec27670a0aac
treef9f8f64feb205a89bf05f940169370bdefb01e2f
parent765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60
bpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)

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))
Lib/test/test_capi.py