Skip to content

Commit

Permalink
comment string
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Sep 4, 2024
1 parent df5bb4a commit a2ac208
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fileformats/core/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ def test_mtime_cached_property(tmp_path: Path):

file.flag = 0
assert file.cached_prop == 0
# Need a long delay to ensure the mtime changes on Ubuntu and particularly on Windows
# On MacOS, the mtime resolution is much higher so not usually an issue. Use
# explicitly cache clearing if needed
time.sleep(2)
file.flag = 1
assert file.cached_prop == 0
Expand Down

0 comments on commit a2ac208

Please sign in to comment.