MCPcopy Index your code
hub / github.com/RustPython/RustPython / assertIsNotClose

Function assertIsNotClose

extra_tests/snippets/stdlib_math.py:112–116  ·  view source on GitHub ↗
(a, b, *args, **kwargs)

Source from the content-addressed store, hash-verified

110
111
112def assertIsNotClose(a, b, *args, **kwargs):
113 assert isclose(a, b, *args, **kwargs) == False, "%s and %s should not be close!" % (
114 a,
115 b,
116 )
117
118
119def assertAllClose(examples, *args, **kwargs):

Callers 1

assertAllNotCloseFunction · 0.85

Calls 1

iscloseFunction · 0.50

Tested by

no test coverage detected