Skip to content

Commit 89826c0

Browse files
author
Fabien Coelho
committed
fix test typos
1 parent 54a4ca4 commit 89826c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def test_nogil():
639639
assert "_is_gil_enabled" in str(e)
640640
pytest.skip("nogil not supported")
641641

642-
assert sys.is_gil_enabled()
642+
assert sys._is_gil_enabled()
643643

644644
cache = ctu.StatsCache(ctu.DictCache())
645645

@@ -651,4 +651,4 @@ def repeat(s: str, n: int) -> str:
651651
assert foo("a", 3) == "aaa" and foo("a", 2) == "aa"
652652
assert cache.hits() == 0.5
653653

654-
assert sys.is_gil_enabled()
654+
assert sys._is_gil_enabled()

0 commit comments

Comments
 (0)