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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 6 years, 3 months ago
Right Patch Set: Created 5 years, 10 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_strptime.py ('k') | Lib/test/test_sysconfig.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
1 """ 1 """
2 Test the API of the symtable module. 2 Test the API of the symtable module.
3 """ 3 """
4 import symtable 4 import symtable
5 import unittest 5 import unittest
6 6
7 from test import support 7 from test import support
8 8
9 9
10 TEST_CODE = """ 10 TEST_CODE = """
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 def test_exec(self): 168 def test_exec(self):
169 symbols = symtable.symtable("def f(x): return x", "?", "exec") 169 symbols = symtable.symtable("def f(x): return x", "?", "exec")
170 170
171 171
172 def test_main(): 172 def test_main():
173 support.run_unittest(SymtableTest) 173 support.run_unittest(SymtableTest)
174 174
175 if __name__ == '__main__': 175 if __name__ == '__main__':
176 test_main() 176 test_main()
LEFTRIGHT

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