Skip to content

Commit ef741f0

Browse files
committed
bool getenv
1 parent 808607b commit ef741f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_eventloop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _setup_env():
5858

5959
# some part of this module seems to hang when run with xvfb
6060
pytestmark = pytest.mark.skipif(
61-
sys.platform == "linux" and os.getenv("CI"), reason="hangs on linux CI"
61+
sys.platform == "linux" and bool(os.getenv("CI")), reason="hangs on linux CI"
6262
)
6363

6464

0 commit comments

Comments
 (0)