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

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

Issue 27095: Simplify MAKE_FUNCTION
Left Patch Set: Created 3 years, 3 months ago
Right Patch Set: Created 3 years, 3 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
LEFTRIGHT
1 # Python test set -- part 1, grammar. 1 # Python test set -- part 1, grammar.
2 # This just tests whether the parser accepts them all. 2 # This just tests whether the parser accepts them all.
3 3
4 from test.support import check_syntax_error 4 from test.support import check_syntax_error
5 import inspect 5 import inspect
6 import unittest 6 import unittest
7 import sys 7 import sys
8 # testing import * 8 # testing import *
9 from sys import * 9 from sys import *
10 10
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 async with manager() as x, manager(): 1156 async with manager() as x, manager():
1157 pass 1157 pass
1158 raise Done 1158 raise Done
1159 1159
1160 with self.assertRaises(Done): 1160 with self.assertRaises(Done):
1161 foo().send(None) 1161 foo().send(None)
1162 1162
1163 1163
1164 if __name__ == '__main__': 1164 if __name__ == '__main__':
1165 unittest.main() 1165 unittest.main()
LEFTRIGHT

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