mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Andother bytes/str comparison caught by Jeremy's change.
This commit is contained in:
parent
9ff05b269f
commit
f7f3deb702
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue