Skip to content

Commit 13581aa

Browse files
committed
Fix mypy error
1 parent ce45f1d commit 13581aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_audioframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_from_ndarray_value_error() -> None:
115115
AudioFrame.from_ndarray(array, format="flt", layout="mono")
116116

117117
# incorrect number of dimensions
118-
array = np.zeros(shape=(1, 160, 2), dtype="f4")
118+
array2 = np.zeros(shape=(1, 160, 2), dtype="f4")
119119
with pytest.raises(
120120
ValueError, match="Expected numpy array with ndim `2` but got `3`"
121121
) as cm:

0 commit comments

Comments
 (0)