def METHOD_NAME(
    self, genconfig: GenConfig, launch: LauncherType
) -> None:
    config = genconfig(["--launcher", launch])
    driver = m.LegateDriver(config, SYSTEM)
    assert driver.custom_env_vars == driver.launcher.custom_env_vars