mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
14 lines
319 B
Diff
14 lines
319 B
Diff
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
|
|
|