diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-08 08:32:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 08:32:06 (GMT) |
commit | ff6c07729211fb98431a2793e074d07a21e0650a (patch) | |
tree | 7883e763d7ecf72e0b98e887061ee3bb2bb9a9c7 /Lib/test/test_asyncio/test_sslproto.py | |
parent | c45fc7673e23f911639d10d3771ffef7be870c7a (diff) | |
download | cpython-ff6c07729211fb98431a2793e074d07a21e0650a.zip cpython-ff6c07729211fb98431a2793e074d07a21e0650a.tar.gz cpython-ff6c07729211fb98431a2793e074d07a21e0650a.tar.bz2 |
bpo-33694: Fix typo in helper function name (GH-7522)
_feed_data_to_bufferred_proto() renamed to
_feed_data_to_buffered_proto() ("bufferred" => "buffered").
Typo spotted by Nathaniel J. Smith.
Diffstat (limited to 'Lib/test/test_asyncio/test_sslproto.py')
-rw-r--r-- | Lib/test/test_asyncio/test_sslproto.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py index 4ace48f..8182671 100644 --- a/Lib/test/test_asyncio/test_sslproto.py +++ b/Lib/test/test_asyncio/test_sslproto.py @@ -190,28 +190,28 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin): for usemv in [False, True]: proto = Proto(1, usemv) - protocols._feed_data_to_bufferred_proto(proto, b'12345') + protocols._feed_data_to_buffered_proto(proto, b'12345') self.assertEqual(proto.data, b'12345') proto = Proto(2, usemv) - protocols._feed_data_to_bufferred_proto(proto, b'12345') + protocols._feed_data_to_buffered_proto(proto, b'12345') self.assertEqual(proto.data, b'12345') proto = Proto(2, usemv) - protocols._feed_data_to_bufferred_proto(proto, b'1234') + protocols._feed_data_to_buffered_proto(proto, b'1234') self.assertEqual(proto.data, b'1234') proto = Proto(4, usemv) - protocols._feed_data_to_bufferred_proto(proto, b'1234') + protocols._feed_data_to_buffered_proto(proto, b'1234') self.assertEqual(proto.data, b'1234') proto = Proto(100, usemv) - protocols._feed_data_to_bufferred_proto(proto, b'12345') + protocols._feed_data_to_buffered_proto(proto, b'12345') self.assertEqual(proto.data, b'12345') proto = Proto(0, usemv) with self.assertRaisesRegex(RuntimeError, 'empty buffer'): - protocols._feed_data_to_bufferred_proto(proto, b'12345') + protocols._feed_data_to_buffered_proto(proto, b'12345') def test_start_tls_client_reg_proto_1(self): HELLO_MSG = b'1' * self.PAYLOAD_SIZE |