Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix big int crash in json_snippets – actually use a big integer
  • Loading branch information
silmeth committed Jul 7, 2019
commit fe9e71167fee9a693b962cc7223482ffa8d9de4f
2 changes: 1 addition & 1 deletion tests/snippets/json_snippet.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ class Dict(dict): pass
# big ints should not crash VM
# TODO: test for correct output when actual serialization implemented and doesn’t throw
try:
json.dumps(7*500)
json.dumps(7**500)
except:
pass