view src/testdir/test_channel_6.py @ 26554:7a74515dde6b v8.2.3806

patch 8.2.3806: terminal focus test fails sometimes Commit: https://github.com/vim/vim/commit/c2958585f6c7ce4d822d3191ba501c0757b3ffff Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 14 11:16:31 2021 +0000 patch 8.2.3806: terminal focus test fails sometimes Problem: Terminal focus test fails sometimes. Solution: Run the test function before others.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 12:30:03 +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)