Functions
test_exceptions Namespace Reference

Functions

def test_cross_module_exceptions ()
 
def test_custom (msg)
 
def test_error_already_set (msg)
 
def test_exception_matches ()
 
def test_invalid_repr ()
 
def test_nested_throws (capture)
 
def test_python_alreadyset_in_destructor (monkeypatch, capsys)
 
def test_python_call_in_catch ()
 
def test_std_exception (msg)
 

Function Documentation

def test_exceptions.test_cross_module_exceptions ( )

Definition at line 26 of file test_exceptions.py.

def test_exceptions.test_custom (   msg)

Definition at line 86 of file test_exceptions.py.

def test_exceptions.test_error_already_set (   msg)

Definition at line 16 of file test_exceptions.py.

def test_exceptions.test_exception_matches ( )

Definition at line 80 of file test_exceptions.py.

def test_exceptions.test_invalid_repr ( )

Definition at line 184 of file test_exceptions.py.

def test_exceptions.test_nested_throws (   capture)
Tests nested (e.g. C++ -> Python -> C++) exception handling

Definition at line 139 of file test_exceptions.py.

def test_exceptions.test_python_alreadyset_in_destructor (   monkeypatch,
  capsys 
)

Definition at line 53 of file test_exceptions.py.

def test_exceptions.test_python_call_in_catch ( )

Definition at line 47 of file test_exceptions.py.

def test_exceptions.test_std_exception (   msg)

Definition at line 10 of file test_exceptions.py.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:59:21