diff options
author | Ned Deily <nad@acm.org> | 2011-07-19 23:18:11 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-07-19 23:18:11 (GMT) |
commit | dac7de31023980d82501a8a2aa4af0c55beedca4 (patch) | |
tree | 17c903b9fc1d642694ba189e580caadfbab79414 | |
parent | 7b561ec98fec9378ba54fab818d9704c50710d71 (diff) | |
parent | 2ea6fccf64596f84562b0a57a8d63847286bdf4c (diff) | |
download | cpython-dac7de31023980d82501a8a2aa4af0c55beedca4.zip cpython-dac7de31023980d82501a8a2aa4af0c55beedca4.tar.gz cpython-dac7de31023980d82501a8a2aa4af0c55beedca4.tar.bz2 |
Issue #12587: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)
-rw-r--r-- | Lib/test/test_tokenize.py | 2 | ||||
-rw-r--r-- | Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt | 2 | ||||
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index 11e6fb4..d30d5ee 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -649,7 +649,7 @@ class TestTokenizerAdheresToPep0263(TestCase): return roundtrip(open(path, 'rb')) def test_utf8_coding_cookie_and_no_utf8_bom(self): - f = 'tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt' + f = 'tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt' self.assertTrue(self._testFile(f)) def test_latin1_coding_cookie_and_utf8_bom(self): diff --git a/Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt b/Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt index d8e6c80..04561e4 100644 --- a/Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +++ b/Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # IMPORTANT: unlike the other test_tokenize-*.txt files, this file # does NOT have the utf-8 BOM signature '\xef\xbb\xbf' at the start # of it. Make sure this is not added inadvertently by your editor @@ -1030,6 +1030,7 @@ Gordon Worley Thomas Wouters Heiko Wundram Doug Wyatt +Robert Xiao Florent Xicluna Hirokazu Yamamoto Ka-Ping Yee @@ -1058,6 +1058,9 @@ Extension Modules Tests ----- +- Issue #12587: Correct faulty test file and reference in test_tokenize. + (Patch by Robert Xiao) + - Issue #12573: Add resource checks for dangling Thread and Process objects. - Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' |