Skip to content

Commit

Permalink
Update tests/test_file_download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Sep 19, 2023
1 parent 5eb3039 commit 417cb91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_file_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ def test_download_from_a_gated_repo_with_hf_hub_download(self):
cache_dir=tmpdir,
)

@unittest.skipIf(os.name == "nt", "Lock files are always deleted on Windows.")
def test_keep_lock_file(self):
"""Lock files should be kept if HF_HUB_KEEP_LOCK_FILES is True."""
with SoftTemporaryDirectory() as tmpdir:
Expand Down

0 comments on commit 417cb91

Please sign in to comment.