diff options
author | Guido van Rossum <guido@python.org> | 2007-08-29 20:24:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-29 20:24:57 (GMT) |
commit | f7f3deb7025fadfae5f074bc0f918852e39ad2d9 (patch) | |
tree | 92da4372bc8206068fe9571024562cb6476629a9 /Lib | |
parent | 9ff05b269fcab2ab129db7e133292b1edf763b3d (diff) | |
download | cpython-f7f3deb7025fadfae5f074bc0f918852e39ad2d9.zip cpython-f7f3deb7025fadfae5f074bc0f918852e39ad2d9.tar.gz cpython-f7f3deb7025fadfae5f074bc0f918852e39ad2d9.tar.bz2 |
Andother bytes/str comparison caught by Jeremy's change.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_pty.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 |