summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/src/utf8.py
diff options
context:
space:
mode:
authorLeonardo Pistone <lpistone@gmail.com>2015-04-14 20:11:12 +0200
committerLeonardo Pistone <lpistone@gmail.com>2015-04-14 20:11:12 +0200
commit0ebd4f0ebab9620a6fc74cb4c0d337ba2c2d8916 (patch)
tree6e92b3c411ccb5c1b4bbf3574373d8e86b6b510f /tests/farm/annotate/src/utf8.py
parente0ad5837194a4a8cd1a2ddf392c5b0db6a80e705 (diff)
downloadpython-coveragepy-git-0ebd4f0ebab9620a6fc74cb4c0d337ba2c2d8916.tar.gz
Fix #363: crash when annotating non-ascii characters in python 2.
--HG-- extra : amend_source : 8297268531b6014e4f2c2a445385f89688a3fb93
Diffstat (limited to 'tests/farm/annotate/src/utf8.py')
-rw-r--r--tests/farm/annotate/src/utf8.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/farm/annotate/src/utf8.py b/tests/farm/annotate/src/utf8.py
new file mode 100644
index 00000000..27342d87
--- /dev/null
+++ b/tests/farm/annotate/src/utf8.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# This comment has an accent: é
+
+print("spam eggs")