summaryrefslogtreecommitdiffstats
path: root/Lib/test/tf_inherit_check.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-09-15 23:02:56 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-09-15 23:02:56 (GMT)
commit9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164 (patch)
treee39eac97c8d501a20d6f336ccddcc169f585271d /Lib/test/tf_inherit_check.py
parent4e80cdd739772406bba00a31fdd98539cdcca651 (diff)
downloadcpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.zip
cpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.tar.gz
cpython-9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164.tar.bz2
Issue #3782: os.write() must not accept unicode strings
Diffstat (limited to 'Lib/test/tf_inherit_check.py')
-rw-r--r--Lib/test/tf_inherit_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/tf_inherit_check.py b/Lib/test/tf_inherit_check.py
index 0fd1089..92ebd95 100644
--- a/Lib/test/tf_inherit_check.py
+++ b/Lib/test/tf_inherit_check.py
@@ -10,7 +10,7 @@ try:
fd = int(sys.argv[2])
try:
- os.write(fd, "blat")
+ os.write(fd, b"blat")
except os.error:
# Success -- could not write to fd.
sys.exit(0)