MCPcopy Index your code
hub / github.com/numpy/numpy / test_round_py_consistency

Method test_round_py_consistency

numpy/_core/tests/test_numeric.py:272–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

270
271 @pytest.mark.xfail(raises=AssertionError, reason="gh-15896")
272 def test_round_py_consistency(self):
273 f = 5.1 * 10**73
274 assert_equal(round(np.float64(f), -73), round(f, -73))
275
276 def test_searchsorted(self):
277 arr = [-8, -5, -1, 3, 6, 10]

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
roundFunction · 0.50

Tested by

no test coverage detected