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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 6 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_configparser.py ('k') | Lib/test/test_crypt.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 copyreg 1 import copyreg
2 import unittest 2 import unittest
3 3
4 from test import support 4 from test import support
5 from test.pickletester import ExtensionSaver 5 from test.pickletester import ExtensionSaver
6 6
7 class C: 7 class C:
8 pass 8 pass
9 9
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 result.sort() 112 result.sort()
113 self.assertEqual(result, expected) 113 self.assertEqual(result, expected)
114 114
115 115
116 def test_main(): 116 def test_main():
117 support.run_unittest(CopyRegTestCase) 117 support.run_unittest(CopyRegTestCase)
118 118
119 119
120 if __name__ == "__main__": 120 if __name__ == "__main__":
121 test_main() 121 test_main()
LEFTRIGHT

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