Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17b1f31

Browse files
committed
TST: Skip test_animation.py::test_failing_ffmpeg on wasm builds
This test requires a subprocess call, so should be skipped like the others.
1 parent 4b4660e commit 17b1f31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/matplotlib/tests/test_animation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ def test_embed_limit(method_name, caplog, anim):
300300
and record.levelname == "WARNING")
301301

302302

303+
@pytest.mark.skipif(sys.platform == 'emscripten',
304+
reason='emscripten does not support subprocesses')
303305
@pytest.mark.skipif(shutil.which("/bin/sh") is None, reason="requires a POSIX OS")
304306
def test_failing_ffmpeg(tmp_path, monkeypatch, anim):
305307
"""

0 commit comments

Comments
 (0)