Skip to content
Myr

Auto skip async tests for imports

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 63d7324 · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_async.py+2 added
97 unmodified lines
98 env.globals['bar'] = 2399 return env100101102@pytest.mark.skipif(not have_async_gen, reason='No async generators')103@pytest.mark.imports104class TestAsyncImports(object):105106 def test_context_imports(self, test_env_async):
39 unmodified lines
146 assert m.variable == 42147 assert not hasattr(m, 'notthere')148149150@pytest.mark.skipif(not have_async_gen, reason='No async generators')151@pytest.mark.imports152@pytest.mark.includes153class TestAsyncIncludes(object):154
70 unmodified lines