Bug report
When running test_buffer.py on the main branch with Numpy installed, the following warnings are displayed:
0:00:00 load avg: 0.29 Run tests sequentially
0:00:00 load avg: 0.29 [1/1] test_buffer
/home/antoine/cpython/default/Lib/test/test_buffer.py:2298: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
self.assertEqual(b, na.tostring(order='C'))
/home/antoine/cpython/default/Lib/test/test_buffer.py:2321: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
self.assertEqual(b, na.tostring(order='F'))
/home/antoine/cpython/default/Lib/test/test_buffer.py:2345: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
self.assertEqual(b, na.tostring(order='A'))
== Tests result: SUCCESS ==
A clear and concise description of what the bug is.
Include a minimal, reproducible example (https://stackoverflow.com/help/minimal-reproducible-example), if possible.
Your environment
Numpy version 1.23.3, installed from source on a debug build of the CPython main branch.
Bug report
When running
test_buffer.pyon the main branch with Numpy installed, the following warnings are displayed:A clear and concise description of what the bug is.
Include a minimal, reproducible example (https://stackoverflow.com/help/minimal-reproducible-example), if possible.
Your environment
Numpy version 1.23.3, installed from source on a debug build of the CPython main branch.