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

Delta Between Two Patch Sets: Lib/test/test_mailcap.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_logging.py ('k') | Lib/test/test_marshal.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 mailcap 1 import mailcap
2 import os 2 import os
3 import shutil 3 import shutil
4 import sys 4 import sys
5 import test.support 5 import test.support
6 import unittest 6 import unittest
7 7
8 # Location of mailcap file 8 # Location of mailcap file
9 MAILCAPFILE = test.support.findfile("mailcap.txt") 9 MAILCAPFILE = test.support.findfile("mailcap.txt")
10 10
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 ] 209 ]
210 self._run_cases(cases) 210 self._run_cases(cases)
211 211
212 def _run_cases(self, cases): 212 def _run_cases(self, cases):
213 for c in cases: 213 for c in cases:
214 self.assertEqual(mailcap.findmatch(*c[0], **c[1]), c[2]) 214 self.assertEqual(mailcap.findmatch(*c[0], **c[1]), c[2])
215 215
216 216
217 if __name__ == '__main__': 217 if __name__ == '__main__':
218 unittest.main() 218 unittest.main()
LEFTRIGHT

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