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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 12 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_asyncore.py ('k') | Lib/test/test_binop.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 # Augmented assignment test. 1 # Augmented assignment test.
2 2
3 from test.support import run_unittest 3 from test.support import run_unittest
4 import unittest 4 import unittest
5 5
6 6
7 class AugAssignTest(unittest.TestCase): 7 class AugAssignTest(unittest.TestCase):
8 def testBasic(self): 8 def testBasic(self):
9 x = 2 9 x = 2
10 x += 1 10 x += 1
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 __lshift__ called 306 __lshift__ called
307 __rlshift__ called 307 __rlshift__ called
308 __ilshift__ called 308 __ilshift__ called
309 '''.splitlines()) 309 '''.splitlines())
310 310
311 def test_main(): 311 def test_main():
312 run_unittest(AugAssignTest) 312 run_unittest(AugAssignTest)
313 313
314 if __name__ == '__main__': 314 if __name__ == '__main__':
315 test_main() 315 test_main()
LEFTRIGHT

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