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

Delta Between Two Patch Sets: Lib/test/test_richcmp.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_re.py ('k') | Lib/test/test_sax.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 # Tests for rich comparisons 1 # Tests for rich comparisons
2 2
3 import unittest 3 import unittest
4 from test import support 4 from test import support
5 5
6 import operator 6 import operator
7 7
8 class Number: 8 class Number:
9 9
10 def __init__(self, x): 10 def __init__(self, x):
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 for op in opmap["lt"]: 325 for op in opmap["lt"]:
326 self.assertIs(op(x, y), True) 326 self.assertIs(op(x, y), True)
327 327
328 328
329 def test_main(): 329 def test_main():
330 support.run_unittest(VectorTest, NumberTest, MiscTest, DictTest, ListTest) 330 support.run_unittest(VectorTest, NumberTest, MiscTest, DictTest, ListTest)
331 331
332 if __name__ == "__main__": 332 if __name__ == "__main__":
333 test_main() 333 test_main()
LEFTRIGHT

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