Add simple test for repr(lock)
This commit is contained in:
parent
8ad91cc354
commit
c5d95b17ac
|
@ -80,6 +80,11 @@ class BaseLockTests(BaseTestCase):
|
|||
lock = self.locktype()
|
||||
del lock
|
||||
|
||||
def test_repr(self):
|
||||
lock = self.locktype()
|
||||
repr(lock)
|
||||
del lock
|
||||
|
||||
def test_acquire_destroy(self):
|
||||
lock = self.locktype()
|
||||
lock.acquire()
|
||||
|
|
Loading…
Reference in New Issue