gentoo/dev-python/pykakasi/files/0001-fix-update-test-expectation.patch
Eli Schwartz da9e3c2f86
dev-python/pykakasi: new package, add 2.3.0
Needed for calibre.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2024-11-29 16:12:14 -05:00

25 lines
818 B
Diff

From c27fa6eb714af6e34e302e479456f1cc68529f46 Mon Sep 17 00:00:00 2001
From: Hiroshi Miura <miurahr@linux.com>
Date: Mon, 24 Jun 2024 19:02:45 +0900
Subject: [PATCH] fix: update test expectation
- fix punctuation
---
tests/test_pykakasi_structured.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/test_pykakasi_structured.py b/tests/test_pykakasi_structured.py
index 83b3be0..c7ba3bb 100644
--- a/tests/test_pykakasi_structured.py
+++ b/tests/test_pykakasi_structured.py
@@ -666,4 +666,5 @@ def test_aozora():
assert result[7]['kana'] == 'カラ'
assert result[8]['kana'] == 'タイグウ'
assert result[9]['kana'] == 'サレテ'
- assert result[10]['kana'] == 'イル。'
+ assert result[10]['kana'] == 'イル'
+ assert result[11]['kana'] == '。'
--
2.45.2