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 baa565c commit 5eb3039
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 @@ -646,7 +646,7 @@ def test_keep_lock_file(self):
for subdir, dirs, files in os.walk(tmpdir):
for file in files:
# No lock files should exist
self.assertNotRegex(file, ".*\.lock")
self.assertNotRegex(file, r".*\.lock")

with SoftTemporaryDirectory() as tmpdir:
with patch("huggingface_hub.file_download.HF_HUB_KEEP_LOCK_FILES", True):
Expand Down

0 comments on commit 5eb3039

Please sign in to comment.