[issue45878] Use `self.assertRaises` instead of `try/except` in `ctypes/test_functions.py::test_mro`

Serhiy Storchaka report at bugs.python.org
Fri Dec 24 04:29:07 EST 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:


New changeset a9e0b2b49374df91c40fe409508cfcdc6332450e by Miss Islington (bot) in branch '3.10':
bpo-45878: convert `try/except` to `self.assertRaises` in `Lib/ctypes/test/test_functions.py` (GH-29721) (GH-29748)
https://github.com/python/cpython/commit/a9e0b2b49374df91c40fe409508cfcdc6332450e


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45878>
_______________________________________


More information about the Python-bugs-list mailing list