This commit is contained in:
Florian Bruhin 2017-10-11 12:52:09 +02:00
parent 5f7ce74e66
commit 4827e98b4e

View File

@ -228,7 +228,7 @@ def apply_fake_os(monkeypatch, request):
def check_yaml_c_exts(): def check_yaml_c_exts():
"""Make sure PyYAML C extensions are available on Travis.""" """Make sure PyYAML C extensions are available on Travis."""
if 'TRAVIS' in os.environ: if 'TRAVIS' in os.environ:
from yaml import CLoader from yaml import CLoader # pylint: disable=unused-variable
@pytest.hookimpl(tryfirst=True, hookwrapper=True) @pytest.hookimpl(tryfirst=True, hookwrapper=True)