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

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

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months 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_traceback.py ('k') | Lib/test/test_urllib2net.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 """ Test script for the unicodedata module. 1 """ Test script for the unicodedata module.
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 8
9 import sys 9 import sys
10 import unittest 10 import unittest
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 if i in (0x0a, 0x0b, 0x0c, 0x0d, 0x85, 304 if i in (0x0a, 0x0b, 0x0c, 0x0d, 0x85,
305 0x1c, 0x1d, 0x1e, 0x2028, 0x2029): 305 0x1c, 0x1d, 0x1e, 0x2028, 0x2029):
306 self.assertEqual(len(lines), 2, 306 self.assertEqual(len(lines), 2,
307 r"\u%.4x should be a linebreak" % i) 307 r"\u%.4x should be a linebreak" % i)
308 else: 308 else:
309 self.assertEqual(len(lines), 1, 309 self.assertEqual(len(lines), 1,
310 r"\u%.4x should not be a linebreak" % i) 310 r"\u%.4x should not be a linebreak" % i)
311 311
312 if __name__ == "__main__": 312 if __name__ == "__main__":
313 unittest.main() 313 unittest.main()
LEFTRIGHT

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