Craft a context manager that silently suppresses chosen exception types.
Constraints
Example
>>> from suppress_exceptions import SuppressExceptions, test_suppress_value_error, test_propagates_type_error, test_no_args_no_suppression, test_multiple_types >>> test_suppress_value_error() True >>> test_propagates_type_error() True >>> test_no_args_no_suppression() True >>> test_multiple_types() True
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints