reflect cachew changes of exception handling and temporary suppression

This commit is contained in:
Dima Gerasimov 2020-10-04 21:35:24 +01:00 committed by karlicoss
parent d3f2551560
commit ced93e6942
12 changed files with 29 additions and 46 deletions

View file

@ -73,8 +73,6 @@ from contextlib import contextmanager
@contextmanager
def fake_data(rows: int=1000) -> Iterator[None]:
# todo also disable cachew automatically for such things?
# TODO right, disabled_cachew won't work here because at that point, entries() is already wrapped?
# I guess need to fix this in cachew?
from .core.cachew import disabled_cachew
from .core.cfg import override_config
from tempfile import TemporaryDirectory