Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ builtin_set.py
File
builtin_set.py
extra_tests/snippets/builtin_set.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
testutils
import
assert_raises
2
3
assert set([1, 2]) == set([1, 2])
4
assert not set([1, 2, 3]) == set([1, 2])
Callers
nothing calls this directly
Calls
15
assert_raises
Function · 0.90
set
Function · 0.85
repr
Function · 0.85
len
Function · 0.85
iter
Function · 0.85
next
Function · 0.85
str
Function · 0.85
EqObject
Class · 0.85
Hashable
Class · 0.70
S
Class · 0.70
A
Class · 0.70
B
Class · 0.70
Tested by
no test coverage detected