8000 Be explicit and use _PyRLock instead of _RLock as we want the Python … · python/cpython@a9ad363 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit a9ad363

Browse files
committed
Be explicit and use _PyRLock instead of _RLock as we want the Python version
1 parent 855157f commit a9ad363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_free_threading/test_monitoring.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from sys import monitoring
1010
from test.support import is_wasi
11-
from threading import Thread, _RLock
11+
from threading import Thread, _PyRLock
1212
from unittest import TestCase
1313

1414

@@ -226,7 +226,7 @@ def trace(frame, event, arg):
226226

227227
sys.settrace(trace)
228228
try:
229-
l = _RLock()
229+
l = _PyRLock()
230230

231231
def f():
232232
for i in range(3000):

0 commit comments

Comments
 (0)
0