.../lib/python3.13/site-packages/sounddevice.py:2795: DeprecationWarning: Setting the shape on a NumPy array has been deprecated in NumPy 2.5.
As an alternative, you can create a new view using np.reshape (with copy=False if needed).
data.shape = -1, channels
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
I'm getting a NumPy DeprecationWarning when I use the library in pytest