diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-21 20:59:26 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-21 20:59:26 -0400 |
commit | 6ca614a61e82f3b2eb0cb8994f53bcb57713beb0 (patch) | |
tree | f8695a84c243b23189c003d92b0a25eb8b47eb1f /test/farm/html/src | |
parent | d0ee1989ec56dc039ad880c1d554e66dd4caddd8 (diff) | |
download | python-coveragepy-git-6ca614a61e82f3b2eb0cb8994f53bcb57713beb0.tar.gz |
If a source file has an encoding declaration, use it when producing the HTML. Fixes issue #157.
Diffstat (limited to 'test/farm/html/src')
-rw-r--r-- | test/farm/html/src/isolatin1.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/farm/html/src/isolatin1.py b/test/farm/html/src/isolatin1.py new file mode 100644 index 00000000..057c097b --- /dev/null +++ b/test/farm/html/src/isolatin1.py @@ -0,0 +1,5 @@ +# A python source file in another encoding. +# -*- coding: iso8859-1 -*- + +math = "3×4 = 12, ÷2 = 6±0" +assert len(math) == 18 |