mirror of
https://github.com/python/cpython.git
synced 2025-10-12 01:43:12 +00:00
Whitespace normalization. Leaving tokenize_tests.py alone for now.
This commit is contained in:
parent
be4cbb1668
commit
d2bf3b7ca6
9 changed files with 41 additions and 44 deletions
|
@ -41,4 +41,3 @@ except UnicodeError:
|
||||||
print '\\001 maps to undefined: OK'
|
print '\\001 maps to undefined: OK'
|
||||||
else:
|
else:
|
||||||
print '*** check failed: \\001 does not map to undefined'
|
print '*** check failed: \\001 does not map to undefined'
|
||||||
|
|
||||||
|
|
|
@ -198,4 +198,3 @@ test_exc('abc %a', 1, ValueError,
|
||||||
"unsupported format character 'a' (0x61) at index 5")
|
"unsupported format character 'a' (0x61) at index 5")
|
||||||
test_exc(u'abc %\u3000', 1, ValueError,
|
test_exc(u'abc %\u3000', 1, ValueError,
|
||||||
"unsupported format character '?' (0x3000) at index 5")
|
"unsupported format character '?' (0x3000) at index 5")
|
||||||
|
|
||||||
|
|
|
@ -46,4 +46,3 @@ decoding_map.update({
|
||||||
encoding_map = {}
|
encoding_map = {}
|
||||||
for k,v in decoding_map.items():
|
for k,v in decoding_map.items():
|
||||||
encoding_map[v] = k
|
encoding_map[v] = k
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue