Skip to content

Commit e524c80

Browse files
Copilotbact
andcommitted
Remove unused TYPE_CHECKING block and rename test class to BrailleTestCase
Co-authored-by: bact <128572+bact@users.noreply.github.com>
1 parent b02c477 commit e524c80

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pythainlp/braille/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@
66
from __future__ import annotations
77

88
import re
9-
from typing import TYPE_CHECKING
109

1110
from pythainlp.tokenize import word_tokenize
1211
from pythainlp.util import Trie
1312

14-
if TYPE_CHECKING:
15-
pass
16-
1713
# Thai character to braille pattern mapping
1814
# Braille patterns are represented as dot numbers (1-8)
1915
# Following international braille standards

tests/core/test_braille.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from pythainlp.braille.core import Braille
99

1010

11-
class TestCase(unittest.TestCase):
11+
class BrailleTestCase(unittest.TestCase):
1212
"""Test Thai braille conversion."""
1313

1414
def test_thai_word_braille(self) -> None:

0 commit comments

Comments
 (0)