diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-09-14 23:57:01 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-09-14 23:59:38 +0700 |
commit | 3e4185c3965579c2cc10922384694c2465be4557 (patch) | |
tree | 85d43b722f7615d70766ae16bf498e3312b574db /test/test_utils.py | |
parent | f6717dec8abe7c0d34e704732b53665a9415fa2e (diff) |
[utils] Use native french month names
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 4ebca8744..9789d8611 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -638,13 +638,11 @@ class TestUtil(unittest.TestCase): def test_month_by_name(self): self.assertEqual(month_by_name(None), None) self.assertEqual(month_by_name('December', 'en'), 12) - self.assertEqual(month_by_name('decembre', 'fr'), 12) + self.assertEqual(month_by_name('décembre', 'fr'), 12) self.assertEqual(month_by_name('December'), 12) - self.assertEqual(month_by_name('decembre'), None) + self.assertEqual(month_by_name('décembre'), None) self.assertEqual(month_by_name('Unknown', 'unknown'), None) - def test_m - def test_parse_codecs(self): self.assertEqual(parse_codecs(''), {}) self.assertEqual(parse_codecs('avc1.77.30, mp4a.40.2'), { |