Skip to content

Commit

Permalink
Merge 5275330 into 86f3f10
Browse files Browse the repository at this point in the history
  • Loading branch information
gousaiyang committed May 30, 2021
2 parents 86f3f10 + 5275330 commit 7e6f144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cache.py
Expand Up @@ -137,7 +137,7 @@ def test_cache_last_used_update(diff_cache, use_file_io):
parse('somecode', cache=True, path=p)
node_cache_item = next(iter(parser_cache.values()))[p]
now = time.time()
assert node_cache_item.last_used < now
assert node_cache_item.last_used <= now

if use_file_io:
f = _FixedTimeFileIO(p, 'code', node_cache_item.last_used - 10)
Expand Down

0 comments on commit 7e6f144

Please sign in to comment.