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

Method test_require_each

numpy/core/tests/test_numeric.py:3469–3475  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3467 assert_(c.flags[flag])
3468
3469 def test_require_each(self):
3470
3471 id = ['f8', 'i4']
3472 fd = [None, 'f8', 'c16']
3473 for idtype, fdtype, flag in itertools.product(id, fd, self.flag_names):
3474 a = self.generate_all_false(idtype)
3475 self.set_and_check_flag(flag, fdtype, a)
3476
3477 def test_unknown_requirement(self):
3478 a = self.generate_all_false('f8')

Callers

nothing calls this directly

Calls 2

generate_all_falseMethod · 0.95
set_and_check_flagMethod · 0.95

Tested by

no test coverage detected