Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Distributive-Network/PythonMonkey
/ not_raise
Function
not_raise
tests/python/test_bigints.py:86–87 ·
view source on GitHub ↗
(num)
Source
from the content-addressed store, hash-verified
84
85
# should raise exception on ints > (2^53-1), or < -(2^53-1)
86
def
not_raise(num):
87
ident(num)
88
89
def
should_raise(num):
90
with
pytest.raises(OverflowError, match=
"Use pythonmonkey.bigint instead"
):
Callers
1
test_eval_functions_bigints
Function · 0.85
Calls
1
ident
Function · 0.85
Tested by
no test coverage detected