Skip to content

Commit cc6ced8

Browse files
committed
fix CI comparison
1 parent a811afc commit cc6ced8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypothesis-python/src/hypothesis/_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def is_in_ci() -> bool:
309309
"TRAVIS": "true", # Travis CI
310310
}
311311
return any(
312-
(value is None and key in os.environ) or os.environ.get(key) == value
312+
key in os.environ and (value is None or os.environ[key] == value)
313313
for key, value in CI_VARS.items()
314314
)
315315

0 commit comments

Comments
 (0)