[pypy-commit] pypy py3.5-async: Add description to test_asynchronous_context_managers

raffael_t pypy.commits at gmail.com
Tue Aug 16 10:23:11 EDT 2016


Author: Raffael Tfirst <raffael.tfirst at gmail.com>
Branch: py3.5-async
Changeset: r86223:bd2d21b70e51
Date: 2016-08-16 16:22 +0200
http://bitbucket.org/pypy/pypy/changeset/bd2d21b70e51/

Log:	Add description to test_asynchronous_context_managers

diff --git a/pypy/module/_asyncio/test/test_asyncio.py b/pypy/module/_asyncio/test/test_asyncio.py
--- a/pypy/module/_asyncio/test/test_asyncio.py
+++ b/pypy/module/_asyncio/test/test_asyncio.py
@@ -20,6 +20,9 @@
         """
     
     def test_asynchronous_context_managers(self):
+        # it is important that "releasing lock A" happens before "holding lock B"
+        # or the other way around, but it is not allowed that both coroutines
+        # hold the lock at the same time
         """
 import encodings.idna
 import asyncio


More information about the pypy-commit mailing list