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

Delta Between Two Patch Sets: Lib/test/test_property.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_posix.py ('k') | Lib/test/test_pulldom.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 # Test case for property 1 # Test case for property
2 # more tests are in test_descr 2 # more tests are in test_descr
3 3
4 import sys 4 import sys
5 import unittest 5 import unittest
6 from test.support import run_unittest 6 from test.support import run_unittest
7 7
8 class PropertyBase(Exception): 8 class PropertyBase(Exception):
9 pass 9 pass
10 10
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 return 2 245 return 2
246 self.assertEqual(Foo.spam.__doc__, "a new docstring") 246 self.assertEqual(Foo.spam.__doc__, "a new docstring")
247 247
248 248
249 249
250 def test_main(): 250 def test_main():
251 run_unittest(PropertyTests, PropertySubclassTests) 251 run_unittest(PropertyTests, PropertySubclassTests)
252 252
253 if __name__ == '__main__': 253 if __name__ == '__main__':
254 test_main() 254 test_main()
LEFTRIGHT

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