def resource_path(name):
    """Return the absolute path of the resource called ``name``."""
    return Path(__file__).parent / 'resources' / name
Return the absolute path of the resource called ``name``.
tests/testing_utils.py