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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 6 years 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_ossaudiodev.py ('k') | Lib/test/test_pep247.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 import dis 1 import dis
2 import re 2 import re
3 import sys 3 import sys
4 from io import StringIO 4 from io import StringIO
5 import unittest 5 import unittest
6 from math import copysign 6 from math import copysign
7 7
8 from test.bytecode_helper import BytecodeTestCase 8 from test.bytecode_helper import BytecodeTestCase
9 9
10 class TestTranforms(BytecodeTestCase): 10 class TestTranforms(BytecodeTestCase):
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 import gc 330 import gc
331 counts = [None] * 5 331 counts = [None] * 5
332 for i in range(len(counts)): 332 for i in range(len(counts)):
333 support.run_unittest(*test_classes) 333 support.run_unittest(*test_classes)
334 gc.collect() 334 gc.collect()
335 counts[i] = sys.gettotalrefcount() 335 counts[i] = sys.gettotalrefcount()
336 print(counts) 336 print(counts)
337 337
338 if __name__ == "__main__": 338 if __name__ == "__main__":
339 test_main(verbose=True) 339 test_main(verbose=True)
LEFTRIGHT

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