diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-08 22:37:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-08 22:37:24 +0100 |
commit | b92abad0c58de36d0b0afdcd4ec05261fa1fa84c (patch) | |
tree | b30dae4100e009e083158e13f04951b52678718d /src/testdir/test_channel.py | |
parent | cbebd4879cc78e670d79b2c57dc33d7b911c962a (diff) | |
download | vim-b92abad0c58de36d0b0afdcd4ec05261fa1fa84c.zip |
patch 7.4.1291
Problem: On MS-Windows the channel test server doesn't quit.
Solution: Use return instead of break. (Ken Takata)
Diffstat (limited to 'src/testdir/test_channel.py')
-rw-r--r-- | src/testdir/test_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_channel.py b/src/testdir/test_channel.py index 40a2043cc..039a9de91 100644 --- a/src/testdir/test_channel.py +++ b/src/testdir/test_channel.py @@ -133,7 +133,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): elif decoded[1] == '!quit!': # we're done self.server.shutdown() - break + return elif decoded[1] == '!crash!': # Crash! 42 / 0 |