MCPcopy Create free account
hub / github.com/PyO3/pyo3 / test_rust_array_from_array

Function test_rust_array_from_array

pytests/tests/test_sequence.py:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def test_rust_array_from_array():
30 # binary numpy wheel not available on all platforms
31 numpy = pytest.importorskip("numpy")
32
33 assert sequence.array_to_array_i32(numpy.array([1, 2, 3])) == [1, 2, 3]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected