π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Skip MyPy tests in cibuildwheel env.
Peter Sobotd651c705adc9
diff --git a/tests/test_type_hints.py b/tests/test_type_hints.pyindex 467f343..e4c8f58 100644--- a/tests/test_type_hints.py+++ b/tests/test_type_hints.py@@ -28,6 +28,10 @@ FAILING_FIXTURES = set([f for f in ALL_FIXTURES if "fail" in f])PASSING_FIXTURES = ALL_FIXTURES - FAILING_FIXTURES+ os.environ.get("CIBW_BUILD"),+ reason="Unable to get MyPy tests working while in cibuildwheel",+)@pytest.mark.parametrize("filename", PASSING_FIXTURES)def test_mypy_passes(filename):# Run this test in a subprocess, as MyPy forcibly exits, killing PyTest:@@ -39,6 +43,10 @@ def test_mypy_passes(filename):) from e+ os.environ.get("CIBW_BUILD"),+ reason="Unable to get MyPy tests working while in cibuildwheel",+)@pytest.mark.parametrize("filename", FAILING_FIXTURES)def test_mypy_fails(filename):# Run this test in a subprocess, as MyPy forcibly exits, killing PyTest: