blob: b91704ee4f32dfb27344fa1613319640be09fbe2 (
plain)
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
27
28
29
30
31
32
33
34
|
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:
|