summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asynchat.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2019-11-19 19:45:20 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-19 19:45:20 (GMT)
commit892221bfa04a41cf581f988ba19dc263f557e157 (patch)
tree3961cf2084befe960fd1171381564886cb4a913c /Lib/test/test_asynchat.py
parent54b32c987146123f2237f0e21b1d02b1c1ebdf6f (diff)
downloadcpython-892221bfa04a41cf581f988ba19dc263f557e157.zip
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.bz2
bpo-38839: Fix some unused functions in tests (GH-17189)
Diffstat (limited to 'Lib/test/test_asynchat.py')
-rw-r--r--Lib/test/test_asynchat.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py
index 14c0ec4..74041ed 100644
--- a/Lib/test/test_asynchat.py
+++ b/Lib/test/test_asynchat.py
@@ -73,14 +73,14 @@ class echo_client(asynchat.async_chat):
self.set_terminator(terminator)
self.buffer = b""
- def handle_connect(self):
- pass
+ def handle_connect(self):
+ pass
- if sys.platform == 'darwin':
- # select.poll returns a select.POLLHUP at the end of the tests
- # on darwin, so just ignore it
- def handle_expt(self):
- pass
+ if sys.platform == 'darwin':
+ # select.poll returns a select.POLLHUP at the end of the tests
+ # on darwin, so just ignore it
+ def handle_expt(self):
+ pass
def collect_incoming_data(self, data):
self.buffer += data