Use context manager for a lock.
commit7f17935f9d5a570e51e63d4059a90429efb6426c
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 3 Feb 2008 02:43:01 +0000 (3 02:43 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 3 Feb 2008 02:43:01 +0000 (3 02:43 +0000)
treec6eb8e8c17a6e1cfabc3a6186ac23b2d30747516
parent44302eb7c5dd63fdaf8b523cca4427280ba9dc41
Use context manager for a lock.

git-svn-id: http://svn.python.org/projects/python/trunk@60539 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_queue.py