Skip to content
Myr

isolate bytecode cache tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 9849979 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • tests:+3 added−3 removed

1 file+3 added−3 removed

modified:tests/test_bytecode_cache.py+3 added-3 removed
7 unmodified lines
8from jinja2.exceptions import TemplateNotFound91011@pytest.fixture12def env(package_loader):13 bytecode_cache = FileSystemBytecodeCache()14 return Environment(loader=package_loader, bytecode_cache=bytecode_cache,)12def env(package_loader, tmp_path):13 bytecode_cache = FileSystemBytecodeCache(str(tmp_path))14 return Environment(loader=package_loader, bytecode_cache=bytecode_cache)151617@pytest.mark.byte_code_cache18class TestByteCodeCache(object):
61 unmodified lines