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")