summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-08-31 09:08:41 -0700
committerGuido van Rossum <guido@python.org>2016-08-31 09:08:41 -0700
commit09c22adadfd90b2d85778c9f835c5ce122f529a3 (patch)
tree9590c049c46551408eb7a7b018ca68475c5ba113 /Lib/test/test_asyncio
parentf0afe77c52971e17e559ae4e7889bf353fccffb5 (diff)
downloadcpython-git-09c22adadfd90b2d85778c9f835c5ce122f529a3.tar.gz
Issue #27907: variable rename. (Ville Skyttä)
Diffstat (limited to 'Lib/test/test_asyncio')
-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 5c186cebb6..ddb0d44c23 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: