def test_accept_wrong_args(self):
        connection = Connection(Context(TLSv1_METHOD), socket())
        self.assertRaises(TypeError, connection.accept, None)
:py:obj:`Connection.accept` raises :py:obj:`TypeError` if called with any arguments.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ConnectionTests.test_accept_wrong_args