at 25.11-pre 1.1 kB view raw
1diff --git a/test_jaconv.py b/test_jaconv.py 2index 7e0a169..aaf180d 100644 3--- a/test_jaconv.py 4+++ b/test_jaconv.py 5@@ -1,11 +1,8 @@ 6 # -*- coding: utf-8 -*- 7 from __future__ import unicode_literals 8-from nose.tools import assert_equal, nottest 9 import jaconv 10 from functools import partial 11 12-assert_equal.__self__.maxDiff = None 13- 14 HIRAGANA = ('ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞた', 15 'だちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽま', 16 'みむめもゃやゅゆょよらりるれろわをんーゎゐゑゕゖゔゝゞ・「」。、') 17@@ -25,13 +22,15 @@ FULL_ASCII = ('!"#$%&'()*+,-./:;<=>? 18 FULL_DIGIT = '0123456789' 19 20 21-@nottest 22+def assert_equal(x, y): 23+ assert x == y 24+ 25+ 26 def _compare(mathod, lhs, rhs): 27 for i in range(len(lhs)): 28 assert_equal(mathod(lhs[i]), rhs[i]) 29 30 31-@nottest 32 def _concat(*iterables): 33 result = '' 34 for iterable in iterables: