Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Dec 9, 2024
1 parent ce45f1d commit 13581aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_audioframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 13581aa

Please sign in to comment.