From 33799307dc70bd01f0ae0db79c58ef06dd64dd3b Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 21 Sep 2026 20:34:01 +0300 Subject: [PATCH 1/2] Give the 30,000-X case of test_pattern_syntax_error an id --- Tests/test_imagemorph.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tests/test_imagemorph.py b/Tests/test_imagemorph.py index 0814537b609..a9976a75b38 100644 --- a/Tests/test_imagemorph.py +++ b/Tests/test_imagemorph.py @@ -278,7 +278,11 @@ def test_unknown_pattern() -> None: @pytest.mark.parametrize( - "pattern", ("a pattern with a syntax error", "4:(" + "X" * 30000) + "pattern", + ( + pytest.param("a pattern with a syntax error", id="syntax-error"), + pytest.param("4:(" + "X" * 30000, id="long-pattern"), + ), ) @timeout_unless_slower_valgrind(1) def test_pattern_syntax_error(pattern: str) -> None: From 3299b42b964f127b58ffa8279ec92533aff71f28 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 22 Sep 2026 08:49:52 +0300 Subject: [PATCH 2/2] Update Tests/test_imagemorph.py Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- Tests/test_imagemorph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imagemorph.py b/Tests/test_imagemorph.py index a9976a75b38..a95f356e9d7 100644 --- a/Tests/test_imagemorph.py +++ b/Tests/test_imagemorph.py @@ -281,7 +281,7 @@ def test_unknown_pattern() -> None: "pattern", ( pytest.param("a pattern with a syntax error", id="syntax-error"), - pytest.param("4:(" + "X" * 30000, id="long-pattern"), + pytest.param("4:(" + "X" * 30000, id="long-operation"), ), ) @timeout_unless_slower_valgrind(1)