diff --git a/tests/test_audioframe.py b/tests/test_audioframe.py index d67e181ce..858b43be6 100644 --- a/tests/test_audioframe.py +++ b/tests/test_audioframe.py @@ -115,7 +115,7 @@ def test_from_ndarray_value_error() -> None: AudioFrame.from_ndarray(array, format="flt", layout="mono") # incorrect number of dimensions - array = np.zeros(shape=(1, 160, 2), dtype="f4") + array2 = np.zeros(shape=(1, 160, 2), dtype="f4") with pytest.raises( ValueError, match="Expected numpy array with ndim `2` but got `3`" ) as cm: