diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-09-15 23:02:56 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-09-15 23:02:56 (GMT) |
commit | 9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164 (patch) | |
tree | e39eac97c8d501a20d6f336ccddcc169f585271d /Lib/test/test_pty.py | |
parent | 4e80cdd739772406bba00a31fdd98539cdcca651 (diff) | |
download | cpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.zip cpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.tar.gz cpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.tar.bz2 |
Issue #3782: os.write() must not accept unicode strings
Diffstat (limited to 'Lib/test/test_pty.py')
-rw-r--r-- | Lib/test/test_pty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index f62fc99..ec52f9f 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py @@ -7,8 +7,8 @@ import signal from test.support import verbose, TestSkipped, run_unittest import unittest -TEST_STRING_1 = "I wish to buy a fish license.\n" -TEST_STRING_2 = "For my pet fish, Eric.\n" +TEST_STRING_1 = b"I wish to buy a fish license.\n" +TEST_STRING_2 = b"For my pet fish, Eric.\n" if verbose: def debug(msg): |