Skip to content

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

Disable flaky show_editor test when necessary.

Peter Sobot2b2f78e195e0
diff --git a/tests/test_external_plugins.py b/tests/test_external_plugins.py
index 216a979..d330ef0 100644
--- a/tests/test_external_plugins.py
+++ b/tests/test_external_plugins.py
@@ -679,13 +679,14 @@ def test_show_editor(plugin_filename: str):
],
timeout=5,
stderr=subprocess.STDOUT,
- env={"PYTHONPATH": ":".join(sys.path)[1:]},
)
except subprocess.CalledProcessError as e:
if (
b"no visual display devices available" in e.output
# Unsure why, but in some test environments, we
- # can't load Pedalboard in a subprocess:
+ # can't load Pedalboard in a subprocess.
+ # TODO(psobot): Ensure we can load Pedalboard properly
+ # in all environments for this test.
or b"No module named 'pedalboard'" in e.output
):
pass