diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5574b50..463457e 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -62,14 +62,14 @@ jobs: python-version: '3.13' toxenv: py313-test-pytest83 - os: windows-latest - python-version: '3.13' - toxenv: py313-test-pytestdev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev - os: macos-latest - python-version: '3.12' - toxenv: py312-test-pytestdev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev - os: ubuntu-latest - python-version: '3.13' - toxenv: py313-test-pytestdev-numpydev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev-numpydev - os: ubuntu-latest python-version: '3.13' toxenv: py313-test-pytest83-pytestasyncio diff --git a/tests/test_doctestplus.py b/tests/test_doctestplus.py index 57caf60..1cff957 100644 --- a/tests/test_doctestplus.py +++ b/tests/test_doctestplus.py @@ -769,6 +769,8 @@ def f(): ).assertoutcome(passed=2) +# We see unclosed file ResourceWarning on windows with python 3.14 +@pytest.mark.filterwarnings('ignore:unclosed file:ResourceWarning') def test_doctest_only(testdir, makepyfile, maketestfile, makerstfile): # regular python files with doctests makepyfile(p1='>>> 1 + 1\n2') diff --git a/tox.ini b/tox.ini index ade7ec9..8133d8b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310,311,312,313}-test + py{39,310,311,312,313,314}-test codestyle requires = setuptools >= 30.3.0