From 07d39767d4d6c8ec5b629cbb5c8ab1e651bc81f2 Mon Sep 17 00:00:00 2001 From: Derek Date: Tue, 18 Aug 2026 12:01:25 +1000 Subject: [PATCH] fix(tests): split the compound dedup assert (PT018) The one standing ruff error on main - a compound assert in the fuzzy dedup stream test. Split per the rule; also lands the release tail for the typed-masking merge the main-branch feat gate held back. --- tests/unit/test_patterns.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_patterns.py b/tests/unit/test_patterns.py index b5199a7..a55f350 100644 --- a/tests/unit/test_patterns.py +++ b/tests/unit/test_patterns.py @@ -234,7 +234,8 @@ def test_deduplicate_stream_is_a_generator(self): assert isinstance(out, types.GeneratorType) # lazy, not a materialised list result = list(out) if dedup.enabled: - assert "a b c" in result and "x y z" in result + assert "a b c" in result + assert "x y z" in result else: assert result == ["a b c", "a b c", "x y z"] # passthrough when disabled