diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e84b3c..a378c9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,9 @@ jobs: - os: ubuntu-latest python: 3.9 toxenv: py + - os: ubuntu-latest + python: '3.10.0-alpha - 3.10.999' + toxenv: py # windows - os: windows-latest python: 3.6 diff --git a/pytest.ini b/pytest.ini index a72e0e1..1978251 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,4 +1,6 @@ [pytest] norecursedirs = .git .* *.egg* old docs dist build addopts = -rw -filterwarnings = error +filterwarnings = + error + ignore:SelectableGroups:DeprecationWarning diff --git a/tests/integration/test_main.py b/tests/integration/test_main.py index 16ecba0..8ad7654 100644 --- a/tests/integration/test_main.py +++ b/tests/integration/test_main.py @@ -191,8 +191,10 @@ def test_tokenization_error_but_not_syntax_error(tmpdir, capsys): expected = "t.py:2:1: E999 SyntaxError: end of file (EOF) in multi-line statement\n" # noqa: E501 elif sys.version_info < (3, 8): # pragma: no cover (