def test_cathing_empty_loader() -> None:
    """
    We expect a error because loader is empty.
    """
    try:
        run_train_with_empty_loader()
    except IRunnerError:
        pass

    We expect a error because loader is empty.
    
tests/catalyst/runners/test_runner.py