[Python-checkins] cpython (merge 3.5 -> default): Issue #27907: variable rename. (Ville Skyttä) (Merge 3.5->3.6)

guido.van.rossum python-checkins at python.org
Wed Aug 31 12:09:15 EDT 2016


https://hg.python.org/cpython/rev/c9592e878dfa
changeset:   102972:c9592e878dfa
parent:      102970:16bba5b49441
parent:      102971:2a748320616b
user:        Guido van Rossum <guido at dropbox.com>
date:        Wed Aug 31 09:09:04 2016 -0700
summary:
  Issue #27907: variable rename. (Ville Skyttä) (Merge 3.5->3.6)

files:
  Lib/test/test_asyncio/test_events.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -763,11 +763,11 @@
         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:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list