From 13581aaf5474171c890b44d598fd7ea99cdbec1e Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Sun, 8 Dec 2024 19:10:23 -0500 Subject: [PATCH] Fix mypy error --- tests/test_audioframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: