diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/farm/annotate/run_encodings.py | 7 | ||||
-rw-r--r-- | tests/farm/annotate/src/utf8.py | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/farm/annotate/run_encodings.py b/tests/farm/annotate/run_encodings.py new file mode 100644 index 00000000..eb1a3a9a --- /dev/null +++ b/tests/farm/annotate/run_encodings.py @@ -0,0 +1,7 @@ +copy("src", "out") +run(""" + coverage run utf8.py + coverage annotate utf8.py + """, rundir="out") +compare("out", "gold_encodings", "*,cover") +clean("out") 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") |