[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d91fced8be
commit
324f56cc26
1 changed files with 3 additions and 1 deletions
|
|
@ -1536,7 +1536,9 @@ class TestWindowsRocmIndexUrl:
|
|||
assert "repo.amd.com" in url
|
||||
|
||||
def test_mirror_env_var_overrides_base(self, monkeypatch):
|
||||
monkeypatch.setenv("UNSLOTH_ROCM_WINDOWS_MIRROR", "https://my-mirror.example.com/rocm/whl")
|
||||
monkeypatch.setenv(
|
||||
"UNSLOTH_ROCM_WINDOWS_MIRROR", "https://my-mirror.example.com/rocm/whl"
|
||||
)
|
||||
# Reload module-level constant by calling helper directly
|
||||
url = stack_mod._windows_rocm_index_url("gfx1200")
|
||||
# The env var is read at module load time for _ROCM_WINDOWS_INDEX_BASE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue