import importlib


def _get_backend_conf(backend_str: str):
    """Convert a backend string to the test class for the backend."""
    conftest = importlib.import_module(
        f"ibis.backends.{backend_str}.tests.conftest"
    )
    return conftest.TestConf