Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

Commit 0d750ae

Browse files
committed
Issue #27907: variable rename. (Ville Skyttä) (from CPython)
1 parent 3a62f64 commit 0d750ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,11 +765,11 @@ def data_received(self, data):
765765
addr = lsock.getsockname()
766766

767767
message = b'test data'
768-
reponse = None
768+
response = None
769769
expected_response = b'roger'
770770

771771
def client():
772-
global response
772+
nonlocal response
773773
try:
774774
csock = socket.socket()
775775
if client_ssl is not None:

0 commit comments

Comments
 (0)