summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_pty.py2
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