Skip to content

Commit 66cd7ee

Browse files
Jean-Baptiste Poittevinjbpoittevin
Jean-Baptiste Poittevin
authored andcommitted
Shamelessly adapt the test to my (french) environment
1 parent 9e064e6 commit 66cd7ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_liborgdate_utf8.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class OrgDateUtf8TestCase(unittest.TestCase):
1818
Tests OrgDate with utf-8 enabled locales
1919
"""
2020
LOCALE_LOCK = threading.Lock()
21-
UTF8_LOCALE = "pt_BR.utf-8"
21+
UTF8_LOCALE = "fr_FR.utf-8"
2222

2323
@contextmanager
2424
def setlocale(self, name):
@@ -33,8 +33,8 @@ def setUp(self):
3333
self.year = 2016
3434
self.month = 5
3535
self.day = 7
36-
self.text = u'<2016-05-07 Sáb>'
37-
self.textinactive = u'[2016-05-07 Sáb]'
36+
self.text = u'<2016-05-07 sam.>'
37+
self.textinactive = u'[2016-05-07 sam.]'
3838

3939
def test_OrdDate_str_unicode_active(self):
4040
with self.setlocale(self.UTF8_LOCALE):

0 commit comments

Comments
 (0)