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

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

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 9 months ago
Right Patch Set: Created 3 years, 9 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_file_eintr.py ('k') | Lib/test/test_gdb.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
(Both sides are equal)
1 import unittest 1 import unittest
2 from test.support import (verbose, refcount_test, run_unittest, 2 from test.support import (verbose, refcount_test, run_unittest,
3 strip_python_stderr, cpython_only, start_threads, 3 strip_python_stderr, cpython_only, start_threads,
4 temp_dir) 4 temp_dir)
5 from test.support.script_helper import assert_python_ok, make_script 5 from test.support.script_helper import assert_python_ok, make_script
6 6
7 import sys 7 import sys
8 import time 8 import time
9 import gc 9 import gc
10 import weakref 10 import weakref
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 if verbose: 1021 if verbose:
1022 print("restoring automatic collection") 1022 print("restoring automatic collection")
1023 # make sure to always test gc.enable() 1023 # make sure to always test gc.enable()
1024 gc.enable() 1024 gc.enable()
1025 assert gc.isenabled() 1025 assert gc.isenabled()
1026 if not enabled: 1026 if not enabled:
1027 gc.disable() 1027 gc.disable()
1028 1028
1029 if __name__ == "__main__": 1029 if __name__ == "__main__":
1030 test_main() 1030 test_main()
LEFTRIGHT

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