Skip to content

Commit bb1569d

Browse files
fix utf-8 test by using another locale
The pt_BR locale had the weekday capitalization changed [1]. That means that depending on libc version (-> Travis build tests vs Fedora 29) the test either was successull or failed [2]. [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=686db256f640372df81242bf20d458f54e069f56 [2]: commit e05f4f3 re commit e05f4f3
1 parent e05f4f3 commit bb1569d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_liborgdate_utf8.py

Lines changed: 1 addition & 1 deletion
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 = "es_ES.utf-8"
2222

2323
@contextmanager
2424
def setlocale(self, name):

0 commit comments

Comments
 (0)