From ba2bae87ebeda72ddc4bb3829667308e8b725e1f Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 5 Nov 2025 16:12:30 -0500 Subject: [PATCH 1/2] disable test_warnings it is impossible to determine the color given the output text alone --- tests/pygments_pytest_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pygments_pytest_test.py b/tests/pygments_pytest_test.py index 47b7f8f..48b0d53 100644 --- a/tests/pygments_pytest_test.py +++ b/tests/pygments_pytest_test.py @@ -82,6 +82,7 @@ def test_simple_test_passing(compare): compare('def test(): pass') +@pytest.mark.xfail(reason='no output for a warning but the [...%] is yellow') def test_warnings(compare): compare( 'import warnings\n' From 29c166495d2d846bff7382b5f240c1a90e485eb0 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 5 Nov 2025 16:16:34 -0500 Subject: [PATCH 2/2] update workflows --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5666b83..4248ffc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,6 @@ on: jobs: main: - uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.9.0 with: - env: '["py38", "py38-main", "py39-main"]' + env: '["py310", "py310-main", "py311-main"]'