view src/testdir/test_channel_6.py @ 23574:e310c2a0bb8c v8.2.2329

patch 8.2.2329: not all ways Vim can be started are tested Commit: https://github.com/vim/vim/commit/df4c9af7e73aa5d0fb5bf4c0e19a39b4e1d73517 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 11 19:54:42 2021 +0100 patch 8.2.2329: not all ways Vim can be started are tested Problem: Not all ways Vim can be started are tested. Solution: Add a test for different program names. (Dominique Pell?, closes #7651)
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 Jan 2021 20:00:04 +0100
parents e373843e2980
children
line wrap: on
line source

#!/usr/bin/env python
#
# Server that will accept connections from a Vim channel.
# Used by test_channel.vim.
#
# This requires Python 2.6 or later.

from test_channel import main, ThreadedTCPServer
import socket

class ThreadedTCP6Server(ThreadedTCPServer):
    address_family = socket.AF_INET6

if __name__ == "__main__":
    main("::", 0, ThreadedTCP6Server)