[Cython] "relaxed_strides" test broken with NumPy 1.8
njs at pobox.com
Sun Jan 5 02:07:04 CET 2014
No, I'm missing something now; AFAIK there are only two numpy behaviors:
with relaxed strides and without relaxed strides, and version number should
be irrelevant beyond that. What's different between
1.8-without-relaxed-strides and 1.7 that makes the test break?
On 4 Jan 2014 22:01, "Stefan Behnel" <stefan_ml at behnel.de> wrote:
> Stefan Behnel, 04.01.2014 22:51:
> > Stefan Behnel, 04.01.2014 22:47:
> >> Nathaniel Smith, 04.01.2014 18:36:
> >>> On 4 Jan 2014 17:07, "Robert Bradshaw" wrote:
> >>>> Yes, that'd be good. Do you know how? I won't have time to look at
> >>> 'till next week.
> >>> Something like
> >>> if not np.ones((10, 1), order="C").flags.f_contiguous:
> >>> # numpy without relaxed stride support
> >>> raise SkipTest
> > Hmm, but this doesn't seem to work for me in older NumPy versions,
> > the original test used to work there. Should we explicitly test for NumPy
> > 0.18+ as well?
> (Looks like the Cython versioning scheme starts messing up my sense for
> good versioning...)
> I meant NumPy 1.8, 'obviously', i.e. this:
> cython-devel mailing list
> cython-devel at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cython-devel