Skip to content

Commit

Permalink
Temporarily removed 1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Halvani committed Jun 12, 2024
1 parent d8eef54 commit 23893b8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,3 @@ def test_is_script_type(self):
t10, f10 = ws.is_syllabary(x:="こんにちは"), ws.is_alphabet(x)

assert all([t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10]) and not any([f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10])


def test_keep_all_non_characters(self):
ws = WritingSystem()
assert ws.keep_only_script_characters("§§..Czyż t+o nie miłe?") == "Czyż to nie miłe"
assert ws.keep_only_script_characters("546here!""§$ //(it)\\746 is*#*~~!!") == "here it is"
assert ws.keep_only_script_characters("12456niini'kokoh'u3ecoo3i789!!") == "niini'kokoh'u3ecoo3i"
assert ws.keep_only_script_characters("*A=l?l*Sp~aces Rem`&``oved?} Here ", keep_spaces=False) == "AllSpacesRemovedHere"

0 comments on commit 23893b8

Please sign in to comment.