[Cython] "relaxed_strides" test broken with NumPy 1.8
Stefan Behnel
stefan_ml at behnel.de
Sat Jan 4 22:51:30 CET 2014
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 this
>> 'till next week.
>>
>> Something like
>>
>> if not np.ones((10, 1), order="C").flags.f_contiguous:
>> # numpy without relaxed stride support
>> raise SkipTest
>
> https://github.com/cython/cython/commit/e1982505564125714d2010391eecfb8de61626fa
Hmm, but this doesn't seem to work for me in older NumPy versions, although
the original test used to work there. Should we explicitly test for NumPy
0.18+ as well?
Stefan
More information about the cython-devel
mailing list