1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Stuart Prescott <stuart@debian.org>
Date: Fri, 14 Mar 2025 23:52:43 +1100
Subject: skip tests that use unpackaged 'fluent.syntax'
Forwarded: not-needed
fluent.syntax is not yet in Debian so suppress tests that would fail due to
its absence.
---
tests/translate/storage/test_fluent.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/translate/storage/test_fluent.py b/tests/translate/storage/test_fluent.py
index 9d8d198..7bfa1ba 100644
--- a/tests/translate/storage/test_fluent.py
+++ b/tests/translate/storage/test_fluent.py
@@ -25,6 +25,9 @@ from typing import Any
from pytest import raises
+from pytest import importorskip
+importorskip("translate.storage.fluent")
+
from translate.storage import fluent
from . import test_monolingual
|