patch 8.0.0005
Problem:    Netbeans test fails with Python 3. (Jonathonf)
Solution:   Encode the string before sending it. (closes #1070)
diff --git a/src/testdir/test_netbeans.py b/src/testdir/test_netbeans.py
index 3471dd9..e0d291d 100644
--- a/src/testdir/test_netbeans.py
+++ b/src/testdir/test_netbeans.py
@@ -52,7 +52,7 @@
                 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: