1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
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
--- a/tests/test_feature_indexing.py
+++ b/tests/test_feature_indexing.py
@@ -318,7 +318,7 @@ def test_read_back_index(remove_index):
import platform
if platform.system() == "Linux":
- new_locale = 'en_US.utf8'
+ new_locale = 'C'
elif platform.system() == "Darwin":
new_locale = 'en_US.UTF-8'
@@ -349,4 +349,4 @@ def test_issue_144_no_defline(remove_ind
with pytest.raises(FastaIndexingError):
faidx = Faidx(fasta_path)
finally:
- shutil.rmtree(tmp_dir)
\ No newline at end of file
+ shutil.rmtree(tmp_dir)
|