Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Flake.

Peter Sobot56bf23e05bb2
diff --git a/tests/test_io.py b/tests/test_io.py
index 0fa78bd..c8a97e6 100644
--- a/tests/test_io.py
+++ b/tests/test_io.py
@@ -754,7 +754,7 @@ def test_write_empty_file(extension: str, samplerate: float, num_channels: int):
assert af.num_channels == num_channels
# The built-in JUCE MP3 reader (only used on Linux and Windows)
# reads zero-length MP3 files as having exactly one frame.
- if 'mp3' in extension and platform.system() != "Darwin":
+ if "mp3" in extension and platform.system() != "Darwin":
assert af.frames <= 1152
contents = af.read(af.frames)
np.testing.assert_allclose(np.zeros_like(contents), contents)