Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ assertIsClose
Function
assertIsClose
extra_tests/snippets/stdlib_math.py:108–109 ·
view source on GitHub ↗
(a, b, *args, **kwargs)
Source
from the content-addressed store, hash-verified
106
107
108
def
assertIsClose(a, b, *args, **kwargs):
109
assert isclose(a, b, *args, **kwargs) == True,
"%s and %s should be close!"
% (a, b)
110
111
112
def
assertIsNotClose(a, b, *args, **kwargs):
Callers
2
assertAllClose
Function · 0.85
stdlib_math.py
File · 0.85
Calls
1
isclose
Function · 0.50
Tested by
no test coverage detected