Skip to content

Commit

Permalink
Update tests/test_file_download.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lucain <[email protected]>
  • Loading branch information
beeender and Wauplin authored Sep 19, 2023
1 parent 417cb91 commit c9c6b0b
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.")
@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."""
Expand Down

0 comments on commit c9c6b0b

Please sign in to comment.