Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
diff --git a/test_jaconv.py b/test_jaconv.py
|
||
index 7e0a169..aaf180d 100644
|
||
--- a/test_jaconv.py
|
||
+++ b/test_jaconv.py
|
||
@@ -1,11 +1,8 @@
|
||
# -*- coding: utf-8 -*-
|
||
from __future__ import unicode_literals
|
||
-from nose.tools import assert_equal, nottest
|
||
import jaconv
|
||
from functools import partial
|
||
|
||
-assert_equal.__self__.maxDiff = None
|
||
-
|
||
HIRAGANA = ('ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞた',
|
||
'だちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽま',
|
||
'みむめもゃやゅゆょよらりるれろわをんーゎゐゑゕゖゔゝゞ・「」。、')
|
||
@@ -25,13 +22,15 @@ FULL_ASCII = ('!"#$%&'()*+,-./:;<=>?
|
||
FULL_DIGIT = '0123456789'
|
||
|
||
|
||
-@nottest
|
||
+def assert_equal(x, y):
|
||
+ assert x == y
|
||
+
|
||
+
|
||
def _compare(mathod, lhs, rhs):
|
||
for i in range(len(lhs)):
|
||
assert_equal(mathod(lhs[i]), rhs[i])
|
||
|
||
|
||
-@nottest
|
||
def _concat(*iterables):
|
||
result = ''
|
||
for iterable in iterables:
|