Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(150951)

Delta Between Two Patch Sets: Lib/test/test_unicode.py

Issue 28128: Improve the warning message for invalid escape sequences
Left Patch Set: Created 3 years, 1 month ago
Right Patch Set: Created 3 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_string_literals.py ('k') | Objects/bytesobject.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """ Test script for the Unicode implementation. 1 """ Test script for the Unicode implementation.
2 2
3 Written by Marc-Andre Lemburg (mal@lemburg.com). 3 Written by Marc-Andre Lemburg (mal@lemburg.com).
4 4
5 (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. 5 (c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
6 6
7 """ 7 """
8 import _string 8 import _string
9 import codecs 9 import codecs
10 import itertools 10 import itertools
(...skipping 2851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 "obj", 2862 "obj",
2863 [(True, 'arg'), 2863 [(True, 'arg'),
2864 (False, 'key1'), 2864 (False, 'key1'),
2865 (False, 'key2'), 2865 (False, 'key2'),
2866 ]]) 2866 ]])
2867 self.assertRaises(TypeError, _string.formatter_field_name_split, 1) 2867 self.assertRaises(TypeError, _string.formatter_field_name_split, 1)
2868 2868
2869 2869
2870 if __name__ == "__main__": 2870 if __name__ == "__main__":
2871 unittest.main() 2871 unittest.main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+