python error passing: Unit tests for a Python function that returns errors instead of raising exceptions.
The code in these examples can be imported without side-effects, and you can run the included unit tests to verify the code is correct.
pytest {example_directory}
python -m unittest discover -s {example_directory}