]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27907: variable rename. (Ville Skyttä)
authorGuido van Rossum <guido@python.org>
Wed, 31 Aug 2016 16:08:41 +0000 (09:08 -0700)
committerGuido van Rossum <guido@python.org>
Wed, 31 Aug 2016 16:08:41 +0000 (09:08 -0700)
Lib/test/test_asyncio/test_events.py

index 5c186cebb68d13311d64b81ef813addc6c0034c4..ddb0d44c23bffdaf80bb98146cf4300c237ad608 100644 (file)
@@ -763,11 +763,11 @@ class EventLoopTestsMixin:
         addr = lsock.getsockname()
 
         message = b'test data'
-        reponse = None
+        response = None
         expected_response = b'roger'
 
         def client():
-            global response
+            nonlocal response
             try:
                 csock = socket.socket()
                 if client_ssl is not None: