':py:obj:`Connection.accept` raises :py:obj:`TypeError` if called with any arguments.'

def test_accept_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), socket())
    self.assertRaises(TypeError, connection.accept, None)
