diff options
Diffstat (limited to 'Lib/test/crashers/bogus_code_obj.py')
-rw-r--r-- | Lib/test/crashers/bogus_code_obj.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/crashers/bogus_code_obj.py b/Lib/test/crashers/bogus_code_obj.py index 613ae518d4e..198d229491b 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, '') -exec co +co = types.CodeType(0, 0, 0, 0, 0, b'\x04\x71\x00\x00', + (), (), (), '', '', 1, b'') +exec(co) |