From bbe7e73f1f217ef4ccb15f5c55ef413997e388ba Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Sun, 8 Oct 2023 12:44:51 -0400 Subject: [PATCH] test napari on 311 --- pyproject.toml | 1 + tests/test_third_party.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 362894aad..8903c6f29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,6 +133,7 @@ filterwarnings = [ "ignore:distutils Version classes are deprecated", "ignore:`np.bool8` is a deprecated:DeprecationWarning", "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning", + "ignore::DeprecationWarning:docstring_parser", ] # https://mypy.readthedocs.io/en/stable/config_file.html diff --git a/tests/test_third_party.py b/tests/test_third_party.py index 00160e72b..709427943 100644 --- a/tests/test_third_party.py +++ b/tests/test_third_party.py @@ -50,7 +50,7 @@ def test_matplotlib() -> None: plt.imshow(IMG, cmap=CMAP.to_mpl()) -@pytest.mark.skipif(sys.version_info >= (3, 11), reason="napari not working on py3.11") +@pytest.mark.skipif(sys.version_info >= (3, 12), reason="napari not working on py3.12") def test_napari(qapp: "QApplication") -> None: napari = pytest.importorskip("napari")