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

Delta Between Two Patch Sets: Lib/test/test_base64.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/support/script_helper.py ('k') | Lib/test/test_capi.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 import unittest 1 import unittest
2 from test import support 2 from test import support
3 import base64 3 import base64
4 import binascii 4 import binascii
5 import os 5 import os
6 from array import array 6 from array import array
7 from test.support import script_helper 7 from test.support import script_helper
8 8
9 9
10 class LegacyBase64TestCase(unittest.TestCase): 10 class LegacyBase64TestCase(unittest.TestCase):
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 self.assertIsNone(err) 664 self.assertIsNone(err)
665 665
666 def test_decode(self): 666 def test_decode(self):
667 with open(support.TESTFN, 'wb') as fp: 667 with open(support.TESTFN, 'wb') as fp:
668 fp.write(b'Yf9iCg==') 668 fp.write(b'Yf9iCg==')
669 output = self.get_output('-d', support.TESTFN) 669 output = self.get_output('-d', support.TESTFN)
670 self.assertEqual(output.rstrip(), b'a\xffb') 670 self.assertEqual(output.rstrip(), b'a\xffb')
671 671
672 if __name__ == '__main__': 672 if __name__ == '__main__':
673 unittest.main() 673 unittest.main()
LEFTRIGHT

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