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

Delta Between Two Patch Sets: Lib/test/test_quopri.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_pty.py ('k') | Lib/test/test_select.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 2
3 import sys, os, io, subprocess 3 import sys, os, io, subprocess
4 import quopri 4 import quopri
5 5
6 6
7 7
8 ENCSAMPLE = b"""\ 8 ENCSAMPLE = b"""\
9 Here's a bunch of special=20 9 Here's a bunch of special=20
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 process = subprocess.Popen([sys.executable, "-mquopri", "-d"], 203 process = subprocess.Popen([sys.executable, "-mquopri", "-d"],
204 stdin=subprocess.PIPE, stdout=subprocess.PIPE ) 204 stdin=subprocess.PIPE, stdout=subprocess.PIPE )
205 self.addCleanup(process.stdout.close) 205 self.addCleanup(process.stdout.close)
206 cout, cerr = process.communicate(e) 206 cout, cerr = process.communicate(e)
207 cout = cout.decode('latin-1') 207 cout = cout.decode('latin-1')
208 p = p.decode('latin-1') 208 p = p.decode('latin-1')
209 self.assertEqual(cout.splitlines(), p.splitlines()) 209 self.assertEqual(cout.splitlines(), p.splitlines())
210 210
211 if __name__ == "__main__": 211 if __name__ == "__main__":
212 unittest.main() 212 unittest.main()
LEFTRIGHT

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