Skip to content

Commit 91303d3

Browse files
Copilotbact
andcommitted
Move Qwen3 tests from extra to noauto_torch suite and sync with dev branch
1. Sync with dev branch (54 commits merged) - Test suite reorganization: noauto tests now grouped by dependency ecosystem - Added noauto_torch, noauto_tensorflow, noauto_onnx, noauto_cython, noauto_network suites - Added braille module and comprehensive translation improvements 2. Move Qwen3 tests to appropriate suite - Moved from tests/extra/testx_lm.py to tests/noauto_torch/testn_lm_torch.py - Changed test class suffix from TestCaseX to TestCaseN (noauto convention) - Registered in tests/noauto_torch/__init__.py test_packages list - Removed from tests/extra/__init__.py test_packages list Reason: Qwen3 uses torch and transformers (PyTorch ecosystem) which are heavy dependencies (~2-3 GB). Per the updated test suite organization, tests with heavy ML framework dependencies belong in noauto_torch suite, not extra suite. Co-authored-by: bact <128572+bact@users.noreply.github.com>
1 parent 2a9f6e9 commit 91303d3

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/extra/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"tests.extra.testx_augment",
1414
"tests.extra.testx_benchmarks",
1515
"tests.extra.testx_cli",
16-
"tests.extra.testx_lm",
1716
"tests.extra.testx_spell",
1817
"tests.extra.testx_tag",
1918
"tests.extra.testx_tokenize",

tests/noauto_torch/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
# Names of module to be tested
2525
test_packages: list[str] = [
26+
"tests.noauto_torch.testn_lm_torch",
2627
"tests.noauto_torch.testn_spell_torch",
2728
"tests.noauto_torch.testn_tag_torch",
2829
"tests.noauto_torch.testn_tokenize_torch",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pythainlp.lm import Qwen3
88

99

10-
class LMTestCaseX(unittest.TestCase):
10+
class LMTestCaseN(unittest.TestCase):
1111
def test_qwen3_initialization(self):
1212
# Test that Qwen3 can be instantiated
1313
try:

0 commit comments

Comments
 (0)