Lines Matching refs:noconvert
291 convert, noconvert = m.int_passthrough, m.int_passthrough_noconvert
294 pytest.raises(TypeError, noconvert, v)
300 assert noconvert(7) == 7
310 assert noconvert(Index()) == 42
312 assert noconvert(IntAndIndex()) == 0
322 convert, noconvert = m.int_passthrough, m.int_passthrough_noconvert
325 pytest.raises(TypeError, noconvert, v)
329 assert noconvert(np.intc(42)) == 42
437 convert, noconvert = m.bool_passthrough, m.bool_passthrough_noconvert
440 pytest.raises(TypeError, noconvert, v)
448 assert noconvert(True) is True
449 assert noconvert(False) is False
481 convert, noconvert = m.bool_passthrough, m.bool_passthrough_noconvert
489 assert noconvert(np.bool_(True)) is True
490 assert noconvert(np.bool_(False)) is False