ipwnponies / pytest-antilru

Bust functools.lru_cache when running pytest to avoid test pollution
MIT License
22 stars 3 forks source link

Restore lru_cache when done #14

Closed ipwnponies closed 5 years ago

ipwnponies commented 5 years ago

Restore the hook after collection. All test code will be imported by now so they'll be affected. This is mostly for other plugins, so they work as expected.

Fixes #12