summaryrefslogtreecommitdiff
path: root/test/farm/html/src
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-08-17 09:40:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-08-17 09:40:21 -0400
commit4293f61c09034945a852af00b2ac04207e64e82e (patch)
tree9d9a4aecf99c1d118a67ea510501e764ad297628 /test/farm/html/src
parent8e1e857632f8fc9c49c3aaada3b0ae0630fa4fbd (diff)
downloadpython-coveragepy-git-4293f61c09034945a852af00b2ac04207e64e82e.tar.gz
Properly handle Unicode characters in Python source when creating the HTML report (except surrogates come out as pairs of blots in the HTML). Fixes #124 and #144.
Diffstat (limited to 'test/farm/html/src')
-rw-r--r--test/farm/html/src/unicode.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/farm/html/src/unicode.py b/test/farm/html/src/unicode.py
new file mode 100644
index 00000000..f6a9a052
--- /dev/null
+++ b/test/farm/html/src/unicode.py
@@ -0,0 +1,5 @@
+# A python source file with exotic characters
+# -*- coding: utf-8 -*-
+
+upside_down = "ʎd˙ǝbɐɹǝʌoɔ"
+surrogate = "db40,dd00: x󠄀"