Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ assert_isinstance
Function
assert_isinstance
extra_tests/snippets/testutils.py:71–74 ·
view source on GitHub ↗
(obj, klass)
Source
from the content-addressed store, hash-verified
69
70
71
def
assert_isinstance(obj, klass):
72
_assert_print(
73
lambda
: isinstance(obj, klass), [
"isisntance("
, _typed(obj),
","
, klass,
")"
]
74
)
75
76
77
def
assert_in(a, b):
Callers
1
stdlib_datetime.py
File · 0.90
Calls
3
_assert_print
Function · 0.85
isinstance
Function · 0.85
_typed
Function · 0.85
Tested by
no test coverage detected