Skip to content

Commit ea9ff36

Browse files
authored
Merge pull request #137 from pytest-dev/disable-test-warnings
disable test_warnings
2 parents 5d07ca1 + 29c1664 commit ea9ff36

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ on:
88

99
jobs:
1010
main:
11-
uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0
11+
uses: asottile/workflows/.github/workflows/tox.yml@v1.9.0
1212
with:
13-
env: '["py38", "py38-main", "py39-main"]'
13+
env: '["py310", "py310-main", "py311-main"]'

tests/pygments_pytest_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_simple_test_passing(compare):
8282
compare('def test(): pass')
8383

8484

85+
@pytest.mark.xfail(reason='no output for a warning but the [...%] is yellow')
8586
def test_warnings(compare):
8687
compare(
8788
'import warnings\n'

0 commit comments

Comments
 (0)