If this exception is expected then why not use `self.assertRaises` etc?
Originally posted by @kumaraditya303 in #111983 (comment)
gh-112186: Improve test case `test_loop_is_closed_resource_warnings` (#…
pythongh-112186: Improve test case `test_loop_is_closed_resource_warn…
[3.12] gh-112186: Improve test case `test_loop_is_closed_resource_war…
Activity
gh-112186: Improve test case `test_loop_is_closed_resource_warnings` (#…
pythongh-112186: Improve test case `test_loop_is_closed_resource_warn…
pythongh-112186: Improve test case `test_loop_is_closed_resource_warn…
[3.12] gh-112186: Improve test case `test_loop_is_closed_resource_war…
pythongh-112186: Improve test case `test_loop_is_closed_resource_warn…
pythongh-112186: Improve test case `test_loop_is_closed_resource_warn…