MCPcopy Create free account
hub / github.com/numpy/numpy / test_signed_overflow_bounds

Method test_signed_overflow_bounds

numpy/lib/tests/test_histograms.py:333–338  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

331 assert_equal(hist, [1, 1])
332
333 def test_signed_overflow_bounds(self):
334 self.do_signed_overflow_bounds(np.byte)
335 self.do_signed_overflow_bounds(np.short)
336 self.do_signed_overflow_bounds(np.intc)
337 self.do_signed_overflow_bounds(np.int_)
338 self.do_signed_overflow_bounds(np.longlong)
339
340 def do_precision_lower_bound(self, float_small, float_large):
341 eps = np.finfo(float_large).eps

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected