Files
parso/test
Ivan Babrou 2799a7a3c2 Fix flaky test_cache_last_used_update
Sometimes time moves slowly and strict comparison is not enough:

```
>       assert now < node_cache_item.last_used < time.time()
E       assert 1614147958.869299 < 1614147958.869299
E        +  where 1614147958.869299 = <parso.cache._NodeCacheItem object at 0x10456fe80>.last_used
E        +  and   1614147958.869299 = <built-in function time>()
E        +    where <built-in function time> = time.time

test/test_cache.py:149: AssertionError
```

In particular, macOS timings can be a bit coarse.

The test failure is from Apple Silicon M1.
2021-02-23 22:27:08 -08:00
..
2017-05-11 09:43:37 -04:00
2020-07-24 16:11:06 +02:00
2020-07-25 18:20:56 +02:00
2020-07-24 16:11:06 +02:00
2020-09-24 10:48:22 +03:00
2020-07-24 16:11:06 +02:00
2020-07-24 16:11:06 +02:00