summaryrefslogtreecommitdiff
path: root/lulua/test_layout.py
diff options
context:
space:
mode:
Diffstat (limited to 'lulua/test_layout.py')
-rw-r--r--lulua/test_layout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lulua/test_layout.py b/lulua/test_layout.py
index 45141ae..8e911da 100644
--- a/lulua/test_layout.py
+++ b/lulua/test_layout.py
@@ -35,7 +35,7 @@ def test_atomic (layout):
for char in text:
d = unicodedata.decomposition (char)
# allow compat decompositions like … -> ...
- if not d.startswith ('<compat> ') and not d.startswith ('<isolated> ') and not d.startswith ('<medial> ') and not d.startswith ('<initial> '):
+ if d.split (' ', 1)[0] not in {'<compat>', '<isolated>', '<medial>', '<initial>', '<noBreak>'}:
assert d == '', (char, btn)
@pytest.mark.parametrize("layout", defaultLayouts, ids=[l.name for l in defaultLayouts])