view src/testdir/test_channel_6.py @ 21600:622021f43db1 v8.2.1350

patch 8.2.1350: Vim9: no test for error message when redefining function Commit: https://github.com/vim/vim/commit/b9a2cac3ef293bfdfe80dea6c6d16d02b7af5435 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 22:23:20 2020 +0200 patch 8.2.1350: Vim9: no test for error message when redefining function Problem: Vim9: no test for error message when redefining function. Solution: Add a test.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 22:30:05 +0200
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)