Recent Issues
|
Sign in
with your
Google
Account to create issues and add comments
Delta Between Two Patch Sets: Lib/test/test_trace.py
Issue 602 :
range: lean and mean (Closed)
Left Patch Set: __len__ is back!
Right Patch Set: address more concerns
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
Lib/ctypes/test/test_slicing.py
Lib/test/pickletester.py
Lib/test/seq_tests.py
Lib/test/test_deque.py
Lib/test/test_enumerate.py
Lib/test/test_heapq.py
Lib/test/test_mutants.py
Lib/test/test_operator.py
Lib/test/test_random.py
Lib/test/test_range.py
Lib/test/test_set.py
Lib/test/test_trace.py
Objects/rangeobject.c
LEFT RIGHT
1 # Testing the line trace facility. 1 # Testing the line trace facility.
2 2
3 from test import test_support 3 from test import test_support
4 import unittest 4 import unittest
5 import sys 5 import sys
6 import difflib 6 import difflib
7 7
8 # A very basic example. If this fails, we're in deep trouble. 8 # A very basic example. If this fails, we're in deep trouble.
9 def basic(): 9 def basic():
10 return 1 10 return 1
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading...
731 731
732 def test_main(): 732 def test_main():
733 test_support.run_unittest( 733 test_support.run_unittest(
734 TraceTestCase, 734 TraceTestCase,
735 RaisingTraceFuncTestCase, 735 RaisingTraceFuncTestCase,
736 JumpTestCase 736 JumpTestCase
737 ) 737 )
738 738
739 if __name__ == "__main__": 739 if __name__ == "__main__":
740 test_main() 740 test_main()
LEFT RIGHT