@@ -13,58 +13,57 @@ def test_diff_for_humans():
1313
1414def diff_for_humans ():
1515 d = pendulum .now ().subtract (seconds = 1 )
16- assert d .diff_for_humans (locale = locale ) == ' कुछ सेकंड पहले'
16+ assert d .diff_for_humans (locale = locale ) == " कुछ सेकंड पहले"
1717
1818 d = pendulum .now ().subtract (seconds = 2 )
19- assert d .diff_for_humans (locale = locale ) == ' कुछ सेकंड पहले'
19+ assert d .diff_for_humans (locale = locale ) == " कुछ सेकंड पहले"
2020
2121 d = pendulum .now ().subtract (seconds = 21 )
22- assert d .diff_for_humans (locale = locale ) == ' 21 सेकंड पहले'
22+ assert d .diff_for_humans (locale = locale ) == " 21 सेकंड पहले"
2323
2424 d = pendulum .now ().subtract (minutes = 1 )
25- assert d .diff_for_humans (locale = locale ) == ' 1 मिनट पहले'
25+ assert d .diff_for_humans (locale = locale ) == " 1 मिनट पहले"
2626
2727 d = pendulum .now ().subtract (minutes = 2 )
28- assert d .diff_for_humans (locale = locale ) == ' 2 मिनट पहले'
28+ assert d .diff_for_humans (locale = locale ) == " 2 मिनट पहले"
2929
3030 d = pendulum .now ().subtract (hours = 1 )
31- assert d .diff_for_humans (locale = locale ) == ' 1 घंटे पहले'
31+ assert d .diff_for_humans (locale = locale ) == " 1 घंटे पहले"
3232
3333 d = pendulum .now ().subtract (hours = 2 )
34- assert d .diff_for_humans (locale = locale ) == ' 2 घंटे पहले'
34+ assert d .diff_for_humans (locale = locale ) == " 2 घंटे पहले"
3535
3636 d = pendulum .now ().subtract (days = 1 )
37- assert d .diff_for_humans (locale = locale ) == ' 1 दिन पहले'
37+ assert d .diff_for_humans (locale = locale ) == " 1 दिन पहले"
3838
3939 d = pendulum .now ().subtract (days = 2 )
40- assert d .diff_for_humans (locale = locale ) == ' 2 दिन पहले'
40+ assert d .diff_for_humans (locale = locale ) == " 2 दिन पहले"
4141
4242 d = pendulum .now ().subtract (weeks = 1 )
43- assert d .diff_for_humans (locale = locale ) == ' 1 सप्ताह पहले'
43+ assert d .diff_for_humans (locale = locale ) == " 1 सप्ताह पहले"
4444
4545 d = pendulum .now ().subtract (weeks = 2 )
46- assert d .diff_for_humans (locale = locale ) == ' 2 सप्ताह पहले'
46+ assert d .diff_for_humans (locale = locale ) == " 2 सप्ताह पहले"
4747
4848 d = pendulum .now ().subtract (months = 1 )
49- assert d .diff_for_humans (locale = locale ) == ' 1 माह पहले'
49+ assert d .diff_for_humans (locale = locale ) == " 1 माह पहले"
5050
5151 d = pendulum .now ().subtract (months = 2 )
52- assert d .diff_for_humans (locale = locale ) == ' 2 माह पहले'
52+ assert d .diff_for_humans (locale = locale ) == " 2 माह पहले"
5353
5454 d = pendulum .now ().subtract (years = 1 )
55- assert d .diff_for_humans (locale = locale ) == ' 1 वर्ष पहले'
55+ assert d .diff_for_humans (locale = locale ) == " 1 वर्ष पहले"
5656
5757 d = pendulum .now ().subtract (years = 2 )
58- assert d .diff_for_humans (locale = locale ) == ' 2 वर्ष पहले'
58+ assert d .diff_for_humans (locale = locale ) == " 2 वर्ष पहले"
5959
6060 d = pendulum .now ().add (seconds = 1 )
61- assert d .diff_for_humans (locale = locale ) == ' कुछ सेकंड में'
61+ assert d .diff_for_humans (locale = locale ) == " कुछ सेकंड में"
6262
6363 d = pendulum .now ().add (seconds = 1 )
6464 d2 = pendulum .now ()
65- assert d .diff_for_humans (d2 , locale = locale ) == ' कुछ सेकंड बाद'
66- assert d2 .diff_for_humans (d , locale = locale ) == ' कुछ सेकंड पहले'
65+ assert d .diff_for_humans (d2 , locale = locale ) == " कुछ सेकंड बाद"
66+ assert d2 .diff_for_humans (d , locale = locale ) == " कुछ सेकंड पहले"
6767
68- assert d .diff_for_humans (d2 , True , locale = locale ) == 'कुछ सेकंड'
69- assert d2 .diff_for_humans (d .add (seconds = 1 ), True ,
70- locale = locale ) == 'कुछ सेकंड'
68+ assert d .diff_for_humans (d2 , True , locale = locale ) == "कुछ सेकंड"
69+ assert d2 .diff_for_humans (d .add (seconds = 1 ), True , locale = locale ) == "कुछ सेकंड"
0 commit comments