Add simple test for repr(lock)

This commit is contained in:
Christian Heimes 2013-07-30 15:54:39 +02:00
parent 8ad91cc354
commit c5d95b17ac
1 changed files with 5 additions and 0 deletions

View File

@ -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()