Yeah, me neither. If you can't then that's okay too, but it's always nice
to leave things better than we found them... :-)


On Fri, May 10, 2013 at 7:26 PM, Jay Bourque <notifications@github.com>wrote:

> In numpy/core/tests/test_api.py:
>
> > @@ -276,5 +276,13 @@ def check_contig(a, ccontig, fcontig):
> >      check_contig(a.ravel(), True, True)
> >      check_contig(np.ones((1,3,1)).squeeze(), True, True)
> >
> > +def test_broadcast_arrays():
> > +    # Test user defined dtypes
> > +    a = np.array([(1,2,3)], dtype='u4,u4,u4')
> > +    b = np.array([(1,2,3),(4,5,6),(7,8,9)], dtype='u4,u4,u4')
> > +    result = np.broadcast_arrays(a, b)
> > +    assert_equal(result[0], np.array([(1,2,3),(1,2,3),(1,2,3)], dtype='u4,u4,u4'))
> > +    assert_equal(result[1], np.array([(1,2,3),(4,5,6),(7,8,9)], dtype='u4,u4,u4'))
>
> Sure, I can add some basic tests. I didn't see any anywhere.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/numpy/numpy/pull/3323/files#r4181284>
> .
>