diff --git a/tests/test_core/test_core_toodt.py b/tests/test_core/test_core_toodt.py index 19962185..10a29b85 100644 --- a/tests/test_core/test_core_toodt.py +++ b/tests/test_core/test_core_toodt.py @@ -1031,8 +1031,8 @@ def testCoreToOdt_ODTTextStyle(): assert txtStyle._tAttr["text-line-through-type"] == ["style", None] txtStyle.setStrikeType("stuff") assert txtStyle._tAttr["text-line-through-type"] == ["style", None] - txtStyle.setStrikeType("none") - assert txtStyle._tAttr["text-line-through-type"] == ["style", "none"] + txtStyle.setStrikeType("none") # Deprecated in ODF 1.3 + assert txtStyle._tAttr["text-line-through-type"] == ["style", None] txtStyle.setStrikeType("single") assert txtStyle._tAttr["text-line-through-type"] == ["style", "single"] txtStyle.setStrikeType("double")