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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 9 months ago
Right Patch Set: Created 5 years, 6 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_binop.py ('k') | Lib/test/test_buffer.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 sys 1 import sys
2 import unittest 2 import unittest
3 from test import support 3 from test import support
4 from collections import UserList 4 from collections import UserList
5 5
6 py_bisect = support.import_fresh_module('bisect', blocked=['_bisect']) 6 py_bisect = support.import_fresh_module('bisect', blocked=['_bisect'])
7 c_bisect = support.import_fresh_module('bisect', fresh=['_bisect']) 7 c_bisect = support.import_fresh_module('bisect', fresh=['_bisect'])
8 8
9 class Range(object): 9 class Range(object):
10 """A trivial range()-like object that has an insert() method.""" 10 """A trivial range()-like object that has an insert() method."""
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 class TestDocExamplePython(TestDocExample, unittest.TestCase): 319 class TestDocExamplePython(TestDocExample, unittest.TestCase):
320 module = py_bisect 320 module = py_bisect
321 321
322 class TestDocExampleC(TestDocExample, unittest.TestCase): 322 class TestDocExampleC(TestDocExample, unittest.TestCase):
323 module = c_bisect 323 module = c_bisect
324 324
325 #------------------------------------------------------------------------------ 325 #------------------------------------------------------------------------------
326 326
327 if __name__ == "__main__": 327 if __name__ == "__main__":
328 unittest.main() 328 unittest.main()
LEFTRIGHT

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