From 54411273d564ba7066c6a7637c20623e479eeba9 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Sun, 29 Sep 2024 14:46:09 -0600 Subject: [PATCH] Test with pypy too --- pyproject.toml | 2 +- tests/test_xml.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6cfc36c..b5c388a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ extra-dependencies = [ ] [[tool.hatch.envs.hatch-test.matrix]] -python = ["3.8", "3.9", "3.10", "3.11", "3.12"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"] [tool.hatch.envs.default] installer = "uv" diff --git a/tests/test_xml.py b/tests/test_xml.py index cf6ade8..23f0c2f 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -1185,6 +1185,7 @@ def test_syntax_error(self): strip_text=strip_text, ) + @pytest.mark.skipif(sys.implementation.name == "pypy", reason="lnotab has issues with pypy") def test_code_error(self): for strip_text in (False, True): child = FileLoader(os.path.join(os.path.dirname(__file__), "data")).load(