test_ok1/testing/code
Ran Benita 424c3eebde code: add ExceptionInfo.from_exception
The old-style `sys.exc_info()` triplet is redundant nowadays with
`(type(exc), exc, exc.__traceback__)`, and is beginning to get
soft-deprecated in Python 3.12.

Add a nicer API to ExceptionInfo which takes just the exc instead of the
triplet. There are already a few internal uses which benefit.
2023-04-12 13:16:48 +03:00
..
test_code.py code: simplify Code construction 2020-10-31 12:40:25 +02:00
test_excinfo.py code: add ExceptionInfo.from_exception 2023-04-12 13:16:48 +03:00
test_source.py Add autoflake to pre-commit configuration (#9666) 2022-02-11 14:34:02 -03:00