Skip to content

Commit

Permalink
Disable ICU tokenizer test
Browse files Browse the repository at this point in the history
  • Loading branch information
eu9ene committed Nov 23, 2024
1 parent 4e6ac75 commit ea357e8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:

- name: Run tests
run: |-
sudo apt-get install -y pkg-config libicu-dev
pip install .[test]
pip install .
python -m unittest discover -s tests
build_sdist:
Expand Down
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ dependencies = [
"typo==0.1.5"
]

[project.optional-dependencies]
test = [
"PyICU==2.8.1"
]

[project.scripts]
opustrainer-train = "opustrainer.trainer:main"
opustrainer-shuffle = "opustrainer.shuffle:main"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tokenizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from opustrainer.tokenizers import make_tokenizer, make_detokenizer


@unittest.skip("requires installing pyicu")
class TestTokenizers(unittest.TestCase):

def test_tokenize_detokenize_icu_en(self):
Expand Down

0 comments on commit ea357e8

Please sign in to comment.