Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ builtin_int.py
File
builtin_int.py
extra_tests/snippets/builtin_int.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
testutils
import
assert_raises
2
3
# int to int comparisons
4
Callers
nothing calls this directly
Calls
15
assert_raises
Function · 0.90
isinstance
Function · 0.85
to_bytes
Method · 0.80
trunc
Method · 0.80
A
Class · 0.70
B
Class · 0.70
C
Class · 0.70
I
Class · 0.70
F
Class · 0.70
BadInt
Class · 0.70
exec
Function · 0.70
__eq__
Method · 0.45
Tested by
no test coverage detected