Author: guido.van.rossum
Date: Wed Aug 29 22:24:57 2007
New Revision: 57678
Modified:
python/branches/py3k/Lib/test/test_pty.py
Log:
Andother bytes/str comparison caught by Jeremy's change.
Modified: python/branches/py3k/Lib/test/test_pty.py
==============================================================================
--- python/branches/py3k/Lib/test/test_pty.py (original)
+++ python/branches/py3k/Lib/test/test_pty.py Wed Aug 29 22:24:57 2007
@@ -82,7 +82,7 @@
fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK)
try:
s1 = os.read(master_fd, 1024)
- self.assertEquals('', s1)
+ self.assertEquals(b'', s1)
except OSError as e:
if e.errno != errno.EAGAIN:
raise
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins