It also helps with debugging to know what type, if any, failed, so you could add a message
`assert_(-1 > np.array(1, dtype=code), "type %s failed" % (code,))`