summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2016-08-31 16:09:04 (GMT)
committerGuido van Rossum <guido@dropbox.com>2016-08-31 16:09:04 (GMT)
commit7309421502a7c5e98a228c2e4a43d242c0eb91ea (patch)
tree15d793c8ca9fc03d22fe0a8708e3a90047f2a4f5
parent74942c92525e549e47a483706a1518b37ce1f98d (diff)
parent09c22adadfd90b2d85778c9f835c5ce122f529a3 (diff)
downloadcpython-7309421502a7c5e98a228c2e4a43d242c0eb91ea.zip
cpython-7309421502a7c5e98a228c2e4a43d242c0eb91ea.tar.gz
cpython-7309421502a7c5e98a228c2e4a43d242c0eb91ea.tar.bz2
Issue #27907: variable rename. (Ville Skyttä) (Merge 3.5->3.6)
-rw-r--r--Lib/test/test_asyncio/test_events.py4
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
index 5c186ce..ddb0d44 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -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: