diff options
author | Jesse Noller <jnoller@gmail.com> | 2009-03-31 03:25:07 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2009-03-31 03:25:07 (GMT) |
commit | f8d00855109d98d364882d46b2060a46af6456c3 (patch) | |
tree | 36a357b94a9067c5821bfa193f7f6b895723824c /Lib/test/test_multiprocessing.py | |
parent | 6d4a9cf85f819188ed929302f0034974ebd051ed (diff) | |
download | cpython-f8d00855109d98d364882d46b2060a46af6456c3.zip cpython-f8d00855109d98d364882d46b2060a46af6456c3.tar.gz cpython-f8d00855109d98d364882d46b2060a46af6456c3.tar.bz2 |
merge 70783 to py3k
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index ed8c626..29f823d 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -548,6 +548,10 @@ class _TestLock(BaseTestCase): self.assertEqual(lock.release(), None) self.assertRaises((AssertionError, RuntimeError), lock.release) + def test_lock_context(self): + with self.Lock(): + pass + class _TestSemaphore(BaseTestCase): |