diff --git a/pyproject.toml b/pyproject.toml index 9cd81d7d..6c2bbdd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -191,6 +191,7 @@ filterwarnings = [ 'ignore:pkg_resources is deprecated as an API:DeprecationWarning', 'ignore::DeprecationWarning:pkg_resources.*:', 'ignore:invalid escape sequence.*:DeprecationWarning', + 'ignore:invalid escape sequence.*:SyntaxWarning', ] [tool.ruff] diff --git a/tests/test_checkhealth.py b/tests/test_checkhealth.py index b653727e..2e40d2a1 100644 --- a/tests/test_checkhealth.py +++ b/tests/test_checkhealth.py @@ -39,8 +39,12 @@ def test_checkhealth( del sys.modules["qtpy"] # Avoid using cached module with missing_modules(*names): - if not manimlib_missing and not MANIMGL_NOT_INSTALLED and sys.version_info < (3, 10): - return pytest.skip("See https://github.com/3b1b/manim/issues/2263") + if ( + not manimlib_missing + and not MANIMGL_NOT_INSTALLED + and sys.version_info < (3, 10) + ): + pytest.skip("See https://github.com/3b1b/manim/issues/2263") result = runner.invoke( checkhealth,