ipwnponies/pytest-antilru

Add a way to disable this, either per-file or per-test

Closed this issue · 2 comments

Doesn't look like there's a way to turn this off temporarily. Not sure if that's necessarily a problem, but it's definitely a nice to have.

@pwmiller what's the use case for wanting to turn this off? I'd be interested in valid use cases, most requests I've heard of are usually solved by using pytest fixtures with higher scope (improve test performance by reintroduce caching). Or a sign that you have test pollution and can stopgap fix it by identifying and extracting the pollution to a fixture, which can be less work than fixing tests sans pollution.

Closing due to inactivity. I've mentioned some solutions that are stopgap workarounds to solving root issue of test pollution.