mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-134322: Fix repr(threading.RLock) (GH-134389) (#134528)
gh-134322: Fix `repr(threading.RLock)` (GH-134389)
Fix the `__repr__` value of `threading.RLock` from `_thread` module, when just created.
(cherry picked from commit fade146cfb)
Co-authored-by: Duprat <yduprat@gmail.com>
This commit is contained in:
parent
bbf8048c0f
commit
068d570be8
3 changed files with 28 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ class ModuleLockAsRLockTests:
|
|||
# lock status in repr unsupported
|
||||
test_repr = None
|
||||
test_locked_repr = None
|
||||
test_repr_count = None
|
||||
|
||||
def tearDown(self):
|
||||
for splitinit in init.values():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue