diff --git a/tests/test_wavsteg.py b/tests/test_wavsteg.py index e6f4c89..4ac6316 100644 --- a/tests/test_wavsteg.py +++ b/tests/test_wavsteg.py @@ -28,7 +28,7 @@ def write_random_wav(self, filename: str, num_channels: int, sample_width: int, data = np.random.randint(0, 2 ** (8 * sample_width), dtype=dtype, size=num_frames * num_channels) # note: typing does not recognize that "writeframes() accepts any bytes-like object" (see documentation) - file.writeframes(data) # type: ignore + file.writeframes(data) # type: ignore[unused-ignore] def write_random_file(self, filename: str, num_bytes: int) -> None: with open(filename, "wb") as file: