Sao I Kuan pushed to branch master at Debian Med / python-pyfaidx


Commits:
14bc6cc6 by Sao I Kuan at 2020-09-30T19:54:17+09:00
Add patch for changing test locale to C

- - - - -


2 changed files:

- + debian/patches/series
- + debian/patches/test-locale-to-c.patch


Changes:

=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+test-locale-to-c.patch


=====================================
debian/patches/test-locale-to-c.patch
=====================================
@@ -0,0 +1,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 <[email protected]>
+Forwarded: not-needed
+Last-Update: 2020-09-30
+
+--- python-pyfaidx-0.5.9.1.orig/tests/test_feature_indexing.py
++++ python-pyfaidx-0.5.9.1/tests/test_feature_indexing.py
+@@ -322,7 +322,7 @@ class TestIndexing(TestCase):
+         import locale
+         old_locale = locale.getlocale(locale.LC_NUMERIC)
+         try:
+-            locale.setlocale(locale.LC_NUMERIC, 'en_US.utf8')
++            locale.setlocale(locale.LC_NUMERIC, 'C')
+             faidx = Faidx('data/genes.fasta')
+             faidx.write_fai()
+             faidx = Faidx('data/genes.fasta', build_index=False)



View it on GitLab: 
https://salsa.debian.org/med-team/python-pyfaidx/-/commit/14bc6cc6b4649bdca831fb13c411c3d2e1431f9d

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/python-pyfaidx/-/commit/14bc6cc6b4649bdca831fb13c411c3d2e1431f9d
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to