From b60ce85213a882fe05d34379965beae3f31e091a Mon Sep 17 00:00:00 2001 From: Roman Yurchak Date: Wed, 21 Apr 2021 13:27:34 +0200 Subject: [PATCH] CI Disable multiprocessing for test-packages-firefox (#1514) --- .circleci/config.yml | 2 +- packages/pillow/test_pillow.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b7be249b8..51ae3aef1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -165,7 +165,7 @@ jobs: - run: name: test command: | - tools/pytest_wrapper.py packages/test* packages/*/test* -v -k firefox -n 2 + tools/pytest_wrapper.py packages/test* packages/*/test* -v -k firefox test-packages-chrome: <<: *defaults diff --git a/packages/pillow/test_pillow.py b/packages/pillow/test_pillow.py index 3d4c4a6e6..82c2a15d5 100644 --- a/packages/pillow/test_pillow.py +++ b/packages/pillow/test_pillow.py @@ -1,9 +1,9 @@ -import pytest from pyodide_build.testing import run_in_pyodide -@pytest.mark.xfail -@run_in_pyodide(packages=["pillow"]) +@run_in_pyodide( + packages=["pillow"], xfail_browsers={"firefox": "timeout", "chrome": ""} +) def test_pillow(): from PIL import Image, ImageDraw, ImageOps import io