Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Mello committed Nov 21, 2024
1 parent de9dbf2 commit f33111c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/torchtune/_cli/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def snapshot_download(self, mocker, tmpdir):

def test_download_calls_snapshot(self, capsys, monkeypatch, snapshot_download):
model = "meta-llama/Llama-2-7b"
testargs = f"tune download {model}".split()
testargs = f"tune download {model} --ignore-patterns *.safetensors".split()
monkeypatch.setattr(sys, "argv", testargs)

# Call the first time and get GatedRepoError
Expand Down

0 comments on commit f33111c

Please sign in to comment.