diff options
author | David Lord <davidism@gmail.com> | 2021-04-10 16:12:25 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-04-10 16:12:25 -0700 |
commit | 1932ce3dc44e16394888cf04666d9b7a1795da76 (patch) | |
tree | 240f231e7ca27ae18fa35855ea3d4a4a7eddcca1 /tests/conftest.py | |
parent | a9b06f4bd271de7f56347f602dd90b41c3db8327 (diff) | |
download | jinja2-inline-async.tar.gz |
async support doesn't require patchinginline-async
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index ce30d8b..ddcacc2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,15 +2,8 @@ import os import pytest -from jinja2 import Environment from jinja2 import loaders -from jinja2.utils import have_async_gen - - -def pytest_ignore_collect(path): - if "async" in path.basename and not have_async_gen: - return True - return False +from jinja2.environment import Environment @pytest.fixture |