1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Test locale to C
Change the testing locale "C", for avoiding the case in which the
additional locale set "en_US.utf8" is not available.
Author: Sao I Kuan <saoikuan@gmail.com>
Forwarded: not-needed
Last-Update: 2020-09-30
--- python-pyfaidx.orig/tests/test_feature_indexing.py
+++ python-pyfaidx/tests/test_feature_indexing.py
@@ -318,7 +318,7 @@
import platform
if platform.system() == "Linux":
- new_locale = 'en_US.utf8'
+ new_locale = 'C'
elif platform.system() == "Darwin":
new_locale = 'en_US.UTF-8'
|