From: Christian Heimes Date: Tue, 30 Jul 2013 13:54:39 +0000 (+0200) Subject: Add simple test for repr(lock) X-Git-Tag: v3.4.0a1~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5d95b17acfdf2d01569bd32d67cadbd5f5cd4a3;p=thirdparty%2FPython%2Fcpython.git Add simple test for repr(lock) --- diff --git a/Lib/test/lock_tests.py b/Lib/test/lock_tests.py index bfbf44e0db70..1a24bdeed373 100644 --- a/Lib/test/lock_tests.py +++ b/Lib/test/lock_tests.py @@ -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()