From 0a369382f2365d6d0756e2957c870467f3f636c2 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Thu, 29 Aug 2024 15:58:47 +0200 Subject: [PATCH] pytest: Don't raise FutureWarning to Error Otherwise we can't use this experimental feature. --- .github/workflows/test_examples.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index 6061c145f..d257eef24 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -42,7 +42,7 @@ jobs: pip install mesa --pre pip install .[test] - name: Test with pytest - run: pytest -rA -Werror test_examples.py + run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py build-main: runs-on: ubuntu-latest @@ -57,4 +57,4 @@ jobs: pip install .[test] pip install -U git+https://github.com/projectmesa/mesa@main#egg=mesa - name: Test with pytest - run: pytest -rA -Werror test_examples.py + run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py