We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a811afc commit cc6ced8Copy full SHA for cc6ced8
hypothesis-python/src/hypothesis/_settings.py
@@ -309,7 +309,7 @@ def is_in_ci() -> bool:
309
"TRAVIS": "true", # Travis CI
310
}
311
return any(
312
- (value is None and key in os.environ) or os.environ.get(key) == value
+ key in os.environ and (value is None or os.environ[key] == value)
313
for key, value in CI_VARS.items()
314
)
315
0 commit comments