google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library
https://flatbuffers.dev/
Apache License 2.0
22.52k stars 3.19k forks source link

Support for Numpy 2.0 in tests #8346

Open arkamar opened 2 days ago

arkamar commented 2 days ago

The newbyteorder has been removed in Numpy 2.0 [1]. Its usages are replaced with respect to migration guide.

[1] https://numpy.org/devdocs/numpy_2_0_migration_guide.html#ndarray-and-scalar-methods

Fixes: #8332