Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
dac7de31
Commit
dac7de31
authored
Jul 19, 2011
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #12587: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)
parents
7b561ec9
2ea6fccf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
Lib/test/test_tokenize.py
Lib/test/test_tokenize.py
+1
-1
Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
...tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_tokenize.py
View file @
dac7de31
...
...
@@ -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
):
...
...
Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
View file @
dac7de31
# -*- 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
...
...
Misc/ACKS
View file @
dac7de31
...
...
@@ -1030,6 +1030,7 @@ Gordon Worley
Thomas Wouters
Heiko Wundram
Doug Wyatt
Robert Xiao
Florent Xicluna
Hirokazu Yamamoto
Ka-Ping Yee
...
...
Misc/NEWS
View file @
dac7de31
...
...
@@ -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
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment