diff options
| author | Jesse Noller <jnoller@gmail.com> | 2009-03-30 23:38:36 (GMT) |
|---|---|---|
| committer | Jesse Noller <jnoller@gmail.com> | 2009-03-30 23:38:36 (GMT) |
| commit | f0d21c751b306e3192ddc81dfd28e74b8816e57b (patch) | |
| tree | 7d259f79cfb33959ecc3f799b5e4bd1cd3d9dab6 /Lib/test | |
| parent | d5ac4447bae5a1cb03b8b4ac6cd1d061de03493c (diff) | |
| download | cpython-f0d21c751b306e3192ddc81dfd28e74b8816e57b.zip cpython-f0d21c751b306e3192ddc81dfd28e74b8816e57b.tar.gz cpython-f0d21c751b306e3192ddc81dfd28e74b8816e57b.tar.bz2 | |
merge 70783 back to 26maint
Diffstat (limited to 'Lib/test')
| -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 d2503f6..29323a5 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): |
