From 6f0c259dc42bbee087d59184152f066e8f9bc01d Mon Sep 17 00:00:00 2001 From: Gregory Danielson Date: Fri, 26 Jul 2024 16:12:27 -0500 Subject: [PATCH] o weka e nimi Su tan poki alasa kepeken nasin pona pi ilo Hypothesis --- tests/test_properties.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_properties.py b/tests/test_properties.py index cb1bb4a..d360659 100644 --- a/tests/test_properties.py +++ b/tests/test_properties.py @@ -1,6 +1,6 @@ # PDM import hypothesis.strategies as st -from hypothesis import given +from hypothesis import given, assume # LOCAL from sonatoki.Filters import ( @@ -54,11 +54,13 @@ def test_ku_filters_non_overlap(s: str): | NIMI_LINKU_COMMON | NIMI_LINKU_UNCOMMON | NIMI_LINKU_OBSCURE - | NIMI_LINKU_SANDBOX - {"su"} + | NIMI_LINKU_SANDBOX ) ) ) def test_linku_filters_non_overlap(s: str): + _ = assume(s != "su") + s = Lowercase.clean(s) s = ConsecutiveDuplicates.clean(s)