Skip to content

Commit c5d95b1

Browse files
committed
Add simple test for repr(lock)
1 parent 8ad91cc commit c5d95b1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lib/test/lock_tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ def test_constructor(self):
8080
lock = self.locktype()
8181
del lock
8282

83+
def test_repr(self):
84+
lock = self.locktype()
85+
repr(lock)
86+
del lock
87+
8388
def test_acquire_destroy(self):
8489
lock = self.locktype()
8590
lock.acquire()

0 commit comments

Comments
 (0)