def METHOD_NAME(mocker: Any) -> None:
    argv = [":test"]
    error = mocker.patch("aiohttp.web.ArgumentParser.error", side_effect=SystemExit)
    with pytest.raises(SystemExit):
        web.main(argv)
    error.assert_called_with("'entry-func' not in 'module:function' syntax")