From 5354e6f601c563e8049de8fbbfb5bfe7cc2c8e9d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 24 Apr 2015 21:23:23 -0400 Subject: Fix a test, and finish the paperwork for #363. --HG-- rename : tests/farm/annotate/gold_encogings/utf8.py,cover => tests/farm/annotate/gold_encodings/utf8.py,cover --- AUTHORS.txt | 1 + CHANGES.txt | 4 ++++ tests/farm/annotate/gold_encodings/utf8.py,cover | 4 ++++ tests/farm/annotate/gold_encogings/utf8.py,cover | 4 ---- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tests/farm/annotate/gold_encodings/utf8.py,cover delete mode 100644 tests/farm/annotate/gold_encogings/utf8.py,cover diff --git a/AUTHORS.txt b/AUTHORS.txt index b0ea69f1..e23ae2a1 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -39,6 +39,7 @@ Jon Chappell Joseph Tate Julian Berman Krystian Kichewko +Leonardo Pistone Lex Berezhny Marc Abramowitz Marcus Cobden diff --git a/CHANGES.txt b/CHANGES.txt index 17122083..95247333 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -30,6 +30,9 @@ Latest and somehow have no idea that single quotes exist. Fixes `issue 361`_. Thanks, Jon Chappell. +- The ``coverage annotate`` command now handles non-ASCII characters properly, + closing `issue 363`_. Thanks, Leonardo Pistone. + .. _issue 299: https://bitbucket.org/ned/coveragepy/issue/299/inserted-created-on-yyyy-mm-dd-hh-mm-in .. _issue 308: https://bitbucket.org/ned/coveragepy/issue/308/yield-lambda-branch-coverage .. _issue 324: https://bitbucket.org/ned/coveragepy/issue/324/yield-in-loop-confuses-branch-coverage @@ -37,6 +40,7 @@ Latest .. _issue 359: https://bitbucket.org/ned/coveragepy/issue/359/xml-report-chunk-error .. _issue 360: https://bitbucket.org/ned/coveragepy/issue/360/html-reports-get-confused-by-l-in-the-code .. _issue 361: https://bitbucket.org/ned/coveragepy/issue/361/use-double-quotes-in-html-output-to +.. _issue 363: https://bitbucket.org/ned/coveragepy/issue/363/annotate-command-hits-unicode-happy-fun Version 4.0a5 --- 16 February 2015 diff --git a/tests/farm/annotate/gold_encodings/utf8.py,cover b/tests/farm/annotate/gold_encodings/utf8.py,cover new file mode 100644 index 00000000..6dbf7e0d --- /dev/null +++ b/tests/farm/annotate/gold_encodings/utf8.py,cover @@ -0,0 +1,4 @@ + # -*- coding: utf-8 -*- + # This comment has an accent: é + +> print("spam eggs") diff --git a/tests/farm/annotate/gold_encogings/utf8.py,cover b/tests/farm/annotate/gold_encogings/utf8.py,cover deleted file mode 100644 index 6dbf7e0d..00000000 --- a/tests/farm/annotate/gold_encogings/utf8.py,cover +++ /dev/null @@ -1,4 +0,0 @@ - # -*- coding: utf-8 -*- - # This comment has an accent: é - -> print("spam eggs") -- cgit v1.2.1