diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:04:52 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:04:52 +0100 |
commit | cad3394e9bf34fb6f3d45782a882a1019b5b843b (patch) | |
tree | bd6ed821b74786c7c69f81f176d4e2202bda49c4 /tests/conftest.py | |
parent | 79e74efcf6c1e753ace4d4129d828f818dda5317 (diff) | |
download | qutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.tar.gz qutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.zip |
Use existing ON_CI constants
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 017c11ba8..fd317d6c4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -282,7 +282,7 @@ def check_yaml_c_exts(): Not available yet with a nightly Python, see: https://github.com/yaml/pyyaml/issues/416 """ - if 'CI' in os.environ and sys.version_info[:2] != (3, 10): + if testutils.ON_CI and sys.version_info[:2] != (3, 10): from yaml import CLoader |