]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103186: Suppress and assert expected RuntimeWarnings in test_sys_settrace...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Sep 2023 13:21:38 +0000 (06:21 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 13:21:38 +0000 (15:21 +0200)
commit29404b6d255b41989b0e490539781db824b368b1
treed5fa22b652b92cf277296cb32844959ee481eadf
parent8c9f5f714e1126a3610194196fdd03d156b73dbd
[3.12] gh-103186: Suppress and assert expected RuntimeWarnings in test_sys_settrace (GH-103244) (#109066)

gh-103186: Suppress and assert expected RuntimeWarnings in test_sys_settrace (GH-103244)

Caused as a result of frame manipulation where locals are never assigned / initialised.
(cherry picked from commit 3e53ac99038920550358c1ea0212c3907a8cb385)

Co-authored-by: Ijtaba Hussain <ijtabahussain@live.com>
Lib/test/test_sys_settrace.py
Misc/NEWS.d/next/Tests/2023-04-05-06-45-20.gh-issue-103186.640Eg-.rst [new file with mode: 0644]