Commit f7f3deb7 authored by Guido van Rossum's avatar Guido van Rossum

Andother bytes/str comparison caught by Jeremy's change.

parent 9ff05b26
......@@ -82,7 +82,7 @@ class PtyTest(unittest.TestCase):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment