summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-08-31 16:08:41 (GMT)
committerGuido van Rossum <guido@python.org>2016-08-31 16:08:41 (GMT)
commit09c22adadfd90b2d85778c9f835c5ce122f529a3 (patch)
tree9590c049c46551408eb7a7b018ca68475c5ba113
parentf0afe77c52971e17e559ae4e7889bf353fccffb5 (diff)
downloadcpython-09c22adadfd90b2d85778c9f835c5ce122f529a3.zip
cpython-09c22adadfd90b2d85778c9f835c5ce122f529a3.tar.gz
cpython-09c22adadfd90b2d85778c9f835c5ce122f529a3.tar.bz2
Issue #27907: variable rename. (Ville Skyttä)
-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: