commit | f8d00855109d98d364882d46b2060a46af6456c3 | [log] [tgz] |
---|---|---|
author | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 03:25:07 2009 +0000 |
committer | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 03:25:07 2009 +0000 |
tree | 36a357b94a9067c5821bfa193f7f6b895723824c | |
parent | 6d4a9cf85f819188ed929302f0034974ebd051ed [diff] [blame] |
merge 70783 to py3k
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 @@ self.assertEqual(lock.release(), None) self.assertRaises((AssertionError, RuntimeError), lock.release) + def test_lock_context(self): + with self.Lock(): + pass + class _TestSemaphore(BaseTestCase):