diff options
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 + |