summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-12-04 19:04:52 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-12-04 19:04:52 +0100
commitcad3394e9bf34fb6f3d45782a882a1019b5b843b (patch)
treebd6ed821b74786c7c69f81f176d4e2202bda49c4 /tests/conftest.py
parent79e74efcf6c1e753ace4d4129d828f818dda5317 (diff)
downloadqutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.tar.gz
qutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.zip
Use existing ON_CI constants
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py2
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