diff options
| author | Bram Moolenaar <Bram@vim.org> | 2016-09-15 11:44:27 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2016-09-15 11:44:27 +0200 |
| commit | 3c4ebeba17399e4ef33d004c269e667f696f0eb6 (patch) | |
| tree | b75620aac93db2709668d7457d9297fd085cf312 /src/testdir | |
| parent | 5582ef14384525e8cec86016876d97a6b32dd548 (diff) | |
| download | vim-git-3c4ebeba17399e4ef33d004c269e667f696f0eb6.tar.gz | |
patch 8.0.0005v8.0.0005
Problem: Netbeans test fails with Python 3. (Jonathonf)
Solution: Encode the string before sending it. (closes #1070)
Diffstat (limited to 'src/testdir')
| -rw-r--r-- | src/testdir/test_netbeans.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_netbeans.py b/src/testdir/test_netbeans.py index 3471dd952..e0d291d60 100644 --- a/src/testdir/test_netbeans.py +++ b/src/testdir/test_netbeans.py @@ -52,7 +52,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): return if len(response) > 0: - self.request.sendall(response) + self.request.sendall(response.encode('utf-8')) # Write the respoinse into the file, so that the test can knows # the command was sent. with open("Xnetbeans", "a") as myfile: |
