commit | c5d95b17acfdf2d01569bd32d67cadbd5f5cd4a3 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Tue Jul 30 15:54:39 2013 +0200 |
committer | Christian Heimes <christian@cheimes.de> | Tue Jul 30 15:54:39 2013 +0200 |
tree | ba36a290e854d103636ce8fefb0cdb9592ea8660 | |
parent | 8ad91cc35403199bab0e25a7266c7bb1125e94d5 [diff] [blame] |
Add simple test for repr(lock)
diff --git a/Lib/test/lock_tests.py b/Lib/test/lock_tests.py index bfbf44e..1a24bde 100644 --- a/Lib/test/lock_tests.py +++ b/Lib/test/lock_tests.py
@@ -80,6 +80,11 @@ 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()