summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-16 15:09:48 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-16 15:09:48 (GMT)
commit73fa727ed5b6229dbe54ff4653eec923a9dfa792 (patch)
treec1044d4632516fcb102d6ef18338edd1a03ce4c4 /Lib/test
parentfc21e01b63f1cf6deb4e937ffae4793271403d6c (diff)
downloadcpython-73fa727ed5b6229dbe54ff4653eec923a9dfa792.zip
cpython-73fa727ed5b6229dbe54ff4653eec923a9dfa792.tar.gz
cpython-73fa727ed5b6229dbe54ff4653eec923a9dfa792.tar.bz2
Fixed crasher. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/crashers/bogus_code_obj.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/crashers/bogus_code_obj.py b/Lib/test/crashers/bogus_code_obj.py
index 43815c1..198d229 100644
--- a/Lib/test/crashers/bogus_code_obj.py
+++ b/Lib/test/crashers/bogus_code_obj.py
@@ -14,6 +14,6 @@ the user build or load random bytecodes anyway. Otherwise, this is a
import types
-co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (),
- (), (), '', '', 1, '')
+co = types.CodeType(0, 0, 0, 0, 0, b'\x04\x71\x00\x00',
+ (), (), (), '', '', 1, b'')
exec(co)