Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Sep 19, 2023
1 parent edcdad2 commit baa565c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_file_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def test_keep_lock_file(self):

with SoftTemporaryDirectory() as tmpdir:
with patch("huggingface_hub.file_download.HF_HUB_KEEP_LOCK_FILES", True):
hf_hub_download(DUMMY_MODEL_ID, filename=CONFIG_NAME, cache_dir=tmpdir)
hf_hub_download(DUMMY_MODEL_ID, filename=CONFIG_NAME, cache_dir=tmpdir)
lock_file_exist = False
for subdir, dirs, files in os.walk(tmpdir):
for file in files:
Expand Down

0 comments on commit baa565c

Please sign in to comment.