commit | f7f3deb7025fadfae5f074bc0f918852e39ad2d9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 29 20:24:57 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 29 20:24:57 2007 +0000 |
tree | 92da4372bc8206068fe9571024562cb6476629a9 | |
parent | 9ff05b269fcab2ab129db7e133292b1edf763b3d [diff] [blame] |
Andother bytes/str comparison caught by Jeremy's change.
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index b153ae7..bfabc2a 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py
@@ -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