Author: guido.van.rossum
Date: Wed May 30 02:58:53 2007
New Revision: 55663

Modified:
   python/branches/py3k-struni/Lib/test/test_openpty.py
Log:
Fix test_openpty.


Modified: python/branches/py3k-struni/Lib/test/test_openpty.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_openpty.py        (original)
+++ python/branches/py3k-struni/Lib/test/test_openpty.py        Wed May 30 
02:58:53 2007
@@ -13,8 +13,8 @@
         if not os.isatty(slave):
             self.fail("Slave-end of pty is not a terminal.")
 
-        os.write(slave, 'Ping!')
-        self.assertEqual(os.read(master, 1024), 'Ping!')
+        os.write(slave, b'Ping!')
+        self.assertEqual(os.read(master, 1024), b'Ping!')
 
 def test_main():
     run_unittest(OpenptyTest)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to