π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Fix Linux/Windows tests.
Peter Sobotf1ff276a5984
diff --git a/tests/test_io.py b/tests/test_io.pyindex 8f1d858..7f67249 100644--- a/tests/test_io.py+++ b/tests/test_io.py@@ -735,6 +735,9 @@ def test_mp3_write(samplerate: float, num_channels: int, qualities):def test_write_empty_file(extension: str, samplerate: float, num_channels: int):stream = io.BytesIO()+ # Set the stream's name so that ReadableAudioFile knows that it's an MP3 on Linux/Windows+ stream.name = f"test{extension}"+with pedalboard.io.WriteableAudioFile(stream,samplerate=samplerate,