I don't really like passing data arrays / matrices to yield statements in tests as the nose verbose output get very verbose. Wouldn't it be possible to generate the datasets once and for all at the module level (as constants) instead?