[pygobject] Specify encoding of tests/test_gi.py
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Specify encoding of tests/test_gi.py
- Date: Fri, 17 Sep 2010 10:16:17 +0000 (UTC)
commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Fri Sep 17 12:14:56 2010 +0200
Specify encoding of tests/test_gi.py
tests/test_gi.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 6e418d2..e453422 100644
--- a/tests/test_gi.py
+++ b/tests/test_gi.py
@@ -1,4 +1,5 @@
# -*- Mode: Python; py-indent-offset: 4 -*-
+# coding=utf-8
# vim: tabstop=4 shiftwidth=4 expandtab
import sys
@@ -12,7 +13,7 @@ import gobject
from gi.repository import GIMarshallingTests
if sys.version_info < (3, 0):
- CONSTANT_UTF8 = "const \xe2\x99\xa5 utf8"
+ CONSTANT_UTF8 = "const \xe2\x99\xa5 utf8"
else:
CONSTANT_UTF8 = "const â?¥ utf8"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]