π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Skip constructor deletion test on Windows.
Peter Sobotd63368e33049
diff --git a/tests/test_io.py b/tests/test_io.pyindex 4a422e6..b52ae02 100644--- a/tests/test_io.py+++ b/tests/test_io.py@@ -22,6 +22,7 @@ import waveimport pathlibimport shutilimport pytest+import platformimport pedalboardfrom typing import Optional@@ -797,6 +798,10 @@ def test_bad_write_quality(tmp_path: pathlib.Path, extension: str, quality):pedalboard.io.WriteableAudioFile(filename, samplerate=44100, quality=quality)+ platform.system() == "Windows",+ reason="Windows file handling behaves differently, for some reason",+)def test_file_not_created_if_constructor_error_thrown(tmp_path: pathlib.Path):filename = str(tmp_path / "test.wav")assert not os.path.exists(filename)