File: test-locale-to-c.patch

package info (click to toggle)
python-pyfaidx 0.8.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: python: 3,001; makefile: 16; sh: 6
file content (18 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
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'