summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cpydiff/modules_json_nonserializable.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpydiff/modules_json_nonserializable.py')
-rw-r--r--tests/cpydiff/modules_json_nonserializable.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cpydiff/modules_json_nonserializable.py b/tests/cpydiff/modules_json_nonserializable.py
index 913b734e8b..ffe523786f 100644
--- a/tests/cpydiff/modules_json_nonserializable.py
+++ b/tests/cpydiff/modules_json_nonserializable.py
@@ -5,10 +5,11 @@ cause: Unknown
workaround: Unknown
"""
import json
+
a = bytes(x for x in range(256))
try:
z = json.dumps(a)
x = json.loads(z)
- print('Should not get here')
+ print("Should not get here")
except TypeError:
- print('TypeError')
+ print("TypeError")