Skip to content

Commit

Permalink
fix(formats): use new more tolerant ttkit
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 22, 2024
1 parent 7af3997 commit c59bec9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ dependencies = [
"social-auth-app-django>=5.4.1,<6.0.0",
"social-auth-core>=4.5.0,<5.0.0",
"tesserocr>=2.6.1,<2.8.0",
"translate-toolkit>=3.14.1,<3.15",
"translate-toolkit>=3.14.4,<3.15",
"translation-finder>=2.18,<3.0",
"unidecode>=1.3.8,<1.4",
"user-agents>=2.0,<2.3",
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions weblate/trans/tests/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ def test_create_android(self) -> None:
self.verify_component(component, 2, "cs", 4)

def test_create_android_broken(self) -> None:
with self.assertRaises(FileParseError):
self.create_android(suffix="-broken")
component = self.create_android(suffix="-broken")
self.verify_component(component, 1, "en", 4)

def test_create_json(self) -> None:
component = self.create_json()
Expand Down

0 comments on commit c59bec9

Please sign in to comment.