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

Delta Between Two Patch Sets: Lib/test/test_keyword.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_json/test_tool.py ('k') | Lib/test/test_logging.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 keyword 1 import keyword
2 import unittest 2 import unittest
3 from test import support 3 from test import support
4 import filecmp 4 import filecmp
5 import os 5 import os
6 import sys 6 import sys
7 import subprocess 7 import subprocess
8 import shutil 8 import shutil
9 import textwrap 9 import textwrap
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 self.assertRegex(stderr, b'(?ms)' + NONEXISTENT_FILE.encode()) 130 self.assertRegex(stderr, b'(?ms)' + NONEXISTENT_FILE.encode())
131 131
132 def test_missing_keywords_py_file_produces_error(self): 132 def test_missing_keywords_py_file_produces_error(self):
133 rc, stderr = self._generate_keywords(os.devnull, NONEXISTENT_FILE) 133 rc, stderr = self._generate_keywords(os.devnull, NONEXISTENT_FILE)
134 self.assertNotEqual(rc, 0) 134 self.assertNotEqual(rc, 0)
135 self.assertRegex(stderr, b'(?ms)' + NONEXISTENT_FILE.encode()) 135 self.assertRegex(stderr, b'(?ms)' + NONEXISTENT_FILE.encode())
136 136
137 137
138 if __name__ == "__main__": 138 if __name__ == "__main__":
139 unittest.main() 139 unittest.main()
LEFTRIGHT

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