Remove an unneeded test.
This test is flaky, and the functionality tested here will be removed
in
@@ -18,17 +18,6 @@ def run_main(*args):
return main(["argv0"])
-def test_llvm_download_url_404():
- invalid_url = "https://facebook.com/not/a/valid/url"
- with pytest.raises(OSError) as ctx:
- run_main("--env=llvm-v0", "--download", invalid_url)
- assert str(
- ctx.value
- ) == f"GET returned status code 404: {invalid_url}" or "Max retries exceeded with url" in str(
- ctx.value
- )
-
-
def test_llvm_download_invalid_protocol():
invalid_url = "invalid://facebook.com"
with pytest.raises(OSError) as ctx:
