Skip to content

Commit fe9e711

Browse files
committed
fix big int crash in json_snippets – actually use a big integer
1 parent 1b539de commit fe9e711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/snippets/json_snippet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ class Dict(dict): pass
6868
# big ints should not crash VM
6969
# TODO: test for correct output when actual serialization implemented and doesn’t throw
7070
try:
71-
json.dumps(7*500)
71+
json.dumps(7**500)
7272
except:
7373
pass

0 commit comments

Comments
 (0)