Classes | |
class | FlakyException |
|
private |
Definition at line 320 of file test_exceptions.py.
|
private |
Definition at line 339 of file test_exceptions.py.
def test_exceptions.ignore_pytest_unraisable_warning | ( | f | ) |
Definition at line 92 of file test_exceptions.py.
def test_exceptions.test_cross_module_exception_translator | ( | ) |
Definition at line 80 of file test_exceptions.py.
def test_exceptions.test_cross_module_exceptions | ( | msg | ) |
Definition at line 44 of file test_exceptions.py.
def test_exceptions.test_cross_module_interleaved_error_already_set | ( | ) |
Definition at line 382 of file test_exceptions.py.
def test_exceptions.test_custom | ( | msg | ) |
Definition at line 138 of file test_exceptions.py.
def test_exceptions.test_error_already_set | ( | msg | ) |
Definition at line 17 of file test_exceptions.py.
def test_exceptions.test_error_already_set_double_restore | ( | ) |
Definition at line 391 of file test_exceptions.py.
def test_exceptions.test_error_already_set_message_with_malformed_utf8 | ( | ) |
Definition at line 285 of file test_exceptions.py.
def test_exceptions.test_error_already_set_message_with_unicode_surrogate | ( | ) |
Definition at line 278 of file test_exceptions.py.
def test_exceptions.test_error_already_set_what_with_happy_exceptions | ( | exc_type, | |
exc_value, | |||
expected_what | |||
) |
Definition at line 312 of file test_exceptions.py.
def test_exceptions.test_exception_matches | ( | ) |
Definition at line 132 of file test_exceptions.py.
def test_exceptions.test_flaky_exception_failure_point_init | ( | ) |
Definition at line 356 of file test_exceptions.py.
def test_exceptions.test_flaky_exception_failure_point_str | ( | ) |
Definition at line 363 of file test_exceptions.py.
def test_exceptions.test_fn_cast_int_exception | ( | ) |
Definition at line 407 of file test_exceptions.py.
def test_exceptions.test_invalid_repr | ( | ) |
Definition at line 251 of file test_exceptions.py.
def test_exceptions.test_local_translator | ( | msg | ) |
Tests that a local translator works and that the local translator from the cross module is not applied
Definition at line 260 of file test_exceptions.py.
def test_exceptions.test_nested_throws | ( | capture | ) |
Tests nested (e.g. C++ -> Python -> C++) exception handling
Definition at line 193 of file test_exceptions.py.
def test_exceptions.test_pypy_oserror_normalization | ( | ) |
Definition at line 401 of file test_exceptions.py.
def test_exceptions.test_python_alreadyset_in_destructor | ( | monkeypatch, | |
capsys | |||
) |
Definition at line 103 of file test_exceptions.py.
def test_exceptions.test_python_call_in_catch | ( | ) |
Definition at line 86 of file test_exceptions.py.
def test_exceptions.test_raise_from | ( | msg | ) |
Definition at line 30 of file test_exceptions.py.
def test_exceptions.test_raise_from_already_set | ( | msg | ) |
Definition at line 37 of file test_exceptions.py.
def test_exceptions.test_std_exception | ( | msg | ) |
Definition at line 11 of file test_exceptions.py.
def test_exceptions.test_throw_nested_exception | ( | ) |
Definition at line 243 of file test_exceptions.py.