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

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

Issue 13390: Hunt memory allocations in addition to reference leaks
Left Patch Set: Created 6 years, 9 months ago
Right Patch Set: Created 6 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 | « Include/objimpl.h ('k') | Lib/test/support.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 #! /usr/bin/env python3 1 #! /usr/bin/env python3
2 2
3 """ 3 """
4 Usage: 4 Usage:
5 5
6 python -m test [options] [test_name1 [test_name2 ...]] 6 python -m test [options] [test_name1 [test_name2 ...]]
7 python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]] 7 python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]
8 8
9 9
10 If no arguments or options are provided, finds all files matching 10 If no arguments or options are provided, finds all files matching
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 assert __file__ == os.path.abspath(sys.argv[0]) 1520 assert __file__ == os.path.abspath(sys.argv[0])
1521 1521
1522 TEMPDIR, TESTCWD = _make_temp_dir_for_build(TEMPDIR) 1522 TEMPDIR, TESTCWD = _make_temp_dir_for_build(TEMPDIR)
1523 1523
1524 # Run the tests in a context manager that temporary changes the CWD to a 1524 # Run the tests in a context manager that temporary changes the CWD to a
1525 # temporary and writable directory. If it's not possible to create or 1525 # temporary and writable directory. If it's not possible to create or
1526 # change the CWD, the original CWD will be used. The original CWD is 1526 # change the CWD, the original CWD will be used. The original CWD is
1527 # available from support.SAVEDCWD. 1527 # available from support.SAVEDCWD.
1528 with support.temp_cwd(TESTCWD, quiet=True): 1528 with support.temp_cwd(TESTCWD, quiet=True):
1529 main() 1529 main()
LEFTRIGHT

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