kdePackages.kirigami-addons: 1.5.0 -> 1.6.0 (#360539)
[NixPkgs.git] / pkgs / development / python-modules / jaconv / use-pytest.patch
blobb91704ee4f32dfb27344fa1613319640be09fbe2
1 diff --git a/test_jaconv.py b/test_jaconv.py
2 index 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
12 -assert_equal.__self__.maxDiff = None
14 HIRAGANA = ('ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞた',
15 'だちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽま',
16 'みむめもゃやゅゆょよらりるれろわをんーゎゐゑゕゖゔゝゞ・「」。、')
17 @@ -25,13 +22,15 @@ FULL_ASCII = ('!"#$%&'()*+,-./:;<=>?
18 FULL_DIGIT = '0123456789'
21 -@nottest
22 +def assert_equal(x, y):
23 + assert x == y
26 def _compare(mathod, lhs, rhs):
27 for i in range(len(lhs)):
28 assert_equal(mathod(lhs[i]), rhs[i])
31 -@nottest
32 def _concat(*iterables):
33 result = ''
34 for iterable in iterables: