zokyo.utils.testing module

Utilities for testing used across Zokyo

zokyo.utils.testing.pytest_err_msg(err)[source]

Get the error message from an exception that pytest catches

Compatibility function for newer versions of pytest, where str(err) no longer returns the expected __repr__ of an exception.