Searched refs:ND_GETBUF_FAIL (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Modules/ |
H A D | _testbuffer.c | 58 #define ND_GETBUF_FAIL 0x040 /* trigger getbuffer failure */ macro 1447 if (baseflags & ND_GETBUF_FAIL) { in ndarray_getbuf() 1449 "ND_GETBUF_FAIL: forced test exception"); in ndarray_getbuf() 2865 PyModule_AddIntMacro(m, ND_GETBUF_FAIL); in PyInit__testbuffer()
|
/third_party/python/Lib/test/ |
H A D | test_buffer.py | 1099 # ND_GETBUF_FAIL 1100 ex = ndarray(items, shape=[12], flags=ND_GETBUF_FAIL) 4418 nd = ndarray([1,2,3], [3], flags=ND_GETBUF_FAIL|ND_GETBUF_UNDEFINED) 4422 x = ndarray([1,2,3], shape=[3], flags=ND_GETBUF_FAIL)
|
Completed in 8 milliseconds