code: def test_eof_received_waiter(self):
      waiter = self.loop.create_future()
      ssl_proto = self.ssl_protocol(waiter=waiter)
      self.connection_made(
          ssl_proto,
          do_handshake=mock.Mock(side_effect=ssl.SSLWantReadError),
      )
      ssl_proto.eof_received()
      test_utils.run_briefly(self.loop)
      self.assertIsInstance(waiter.exception(), ConnectionResetError)
  
imports: import logging
  import socket
  import unittest
  import weakref
  from test import support
  from test.support import socket_helper
  from unittest import mock
  import asyncio
  from asyncio import log
  from asyncio import protocols
  from asyncio import sslproto
  from test.test_asyncio import utils
  from test.test_asyncio import functional
label_desc: Use image node_id 6 for calling the SslProtoHandshakeTests obj's underlying member method code with example usage: obj.test_eof_received_waiter() without return types