summaryrefslogtreecommitdiff
path: root/tests/test_bytecode_cache.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 21:12:47 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 21:12:47 -0800
commit4ec93a454b9b0a95f3772d56ebdac25702268f68 (patch)
tree6e49647d2c9ae2d1df6e2991da8afab75548df16 /tests/test_bytecode_cache.py
parent8d85f9cb6b7617e62cc07dcd7f022b10027b5dab (diff)
downloadjinja2-4ec93a454b9b0a95f3772d56ebdac25702268f68.tar.gz
Revert "add warning and alias for jinja2"
This reverts commit fc9c60ba457efc4cadf6fa2886567e0ee6ca1a99.
Diffstat (limited to 'tests/test_bytecode_cache.py')
-rw-r--r--tests/test_bytecode_cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_bytecode_cache.py b/tests/test_bytecode_cache.py
index 51c2dcb..6a6173a 100644
--- a/tests/test_bytecode_cache.py
+++ b/tests/test_bytecode_cache.py
@@ -9,9 +9,9 @@ from jinja.exceptions import TemplateNotFound
@pytest.fixture
-def env(package_loader, tmp_path):
- bytecode_cache = FileSystemBytecodeCache(str(tmp_path))
- return Environment(loader=package_loader, bytecode_cache=bytecode_cache)
+def env(package_loader):
+ bytecode_cache = FileSystemBytecodeCache()
+ return Environment(loader=package_loader, bytecode_cache=bytecode_cache,)
@pytest.mark.byte_code_cache