We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89826c0 commit acb4c1cCopy full SHA for acb4c1c
test.py
@@ -639,7 +639,7 @@ def test_nogil():
639
assert "_is_gil_enabled" in str(e)
640
pytest.skip("nogil not supported")
641
642
- assert sys._is_gil_enabled()
+ assert not sys._is_gil_enabled()
643
644
cache = ctu.StatsCache(ctu.DictCache())
645
@@ -651,4 +651,4 @@ def repeat(s: str, n: int) -> str:
651
assert foo("a", 3) == "aaa" and foo("a", 2) == "aa"
652
assert cache.hits() == 0.5
653
654
0 commit comments