MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_make_c_f_array

Function test_make_c_f_array

tests/test_numpy_array.py:214–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212
213
214def test_make_c_f_array():
215 assert m.make_c_array().flags.c_contiguous
216 assert not m.make_c_array().flags.f_contiguous
217 assert m.make_f_array().flags.f_contiguous
218 assert not m.make_f_array().flags.c_contiguous
219
220
221def test_make_empty_shaped_array():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected