diff options
author | David Seifert <soap@gentoo.org> | 2017-02-05 15:01:39 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-02-05 15:02:20 +0100 |
commit | 6c74c78e513232f9efec5ab11a7ed4ffde0c3c8d (patch) | |
tree | a3d4ab717655c6f4b0e7dc4cc81954ff25453e2c /dev-python/whoosh/files | |
parent | dev-util/cmake: ppc and ppc64 stable (bug 607220). (diff) | |
download | gentoo-6c74c78e513232f9efec5ab11a7ed4ffde0c3c8d.tar.gz gentoo-6c74c78e513232f9efec5ab11a7ed4ffde0c3c8d.tar.bz2 gentoo-6c74c78e513232f9efec5ab11a7ed4ffde0c3c8d.zip |
dev-python/whoosh: Specify UTF-8 encoding for tests
Gentoo-bug: 608324
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/whoosh/files')
-rw-r--r-- | dev-python/whoosh/files/whoosh-2.7.4-tests-specify-utf8.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/whoosh/files/whoosh-2.7.4-tests-specify-utf8.patch b/dev-python/whoosh/files/whoosh-2.7.4-tests-specify-utf8.patch new file mode 100644 index 000000000000..94636c199a4c --- /dev/null +++ b/dev-python/whoosh/files/whoosh-2.7.4-tests-specify-utf8.patch @@ -0,0 +1,13 @@ +Python 2 requires specifying the file encoding +See also: +https://www.python.org/dev/peps/pep-0263/ +https://bugs.gentoo.org/show_bug.cgi?id=608324 + +--- a/tests/test_reading.py ++++ b/tests/test_reading.py +@@ -1,3 +1,5 @@ ++# -*- coding: utf-8 -*- ++ + from __future__ import with_statement + import random, threading, time + |