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

Side by Side Diff: Lib/test/regrtest.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 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:
View unified diff | Download patch
« no previous file with comments | « Lib/test/__main__.py ('k') | Lib/test/support/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /usr/bin/env python3 1 #! /usr/bin/env python3
2 2
3 """ 3 """
4 Script to run Python regression tests. 4 Script to run Python regression tests.
5 5
6 Run this script with -h or --help for documentation. 6 Run this script with -h or --help for documentation.
7 """ 7 """
8 8
9 # We import importlib *ASAP* in order to test #15386 9 # We import importlib *ASAP* in order to test #15386
10 import importlib 10 import importlib
(...skipping 18 matching lines...) Expand all
29 29
30 # findtestdir() gets the dirname out of __file__, so we have to make it 30 # findtestdir() gets the dirname out of __file__, so we have to make it
31 # absolute before changing the working directory. 31 # absolute before changing the working directory.
32 # For example __file__ may be relative when running trace or profile. 32 # For example __file__ may be relative when running trace or profile.
33 # See issue #9323. 33 # See issue #9323.
34 __file__ = os.path.abspath(__file__) 34 __file__ = os.path.abspath(__file__)
35 35
36 # sanity check 36 # sanity check
37 assert __file__ == os.path.abspath(sys.argv[0]) 37 assert __file__ == os.path.abspath(sys.argv[0])
38 38
39 main_in_temp_cwd() 39 result = main_in_temp_cwd()
40 sys.exit(retval)
OLDNEW
« no previous file with comments | « Lib/test/__main__.py ('k') | Lib/test/support/__init__.py » ('j') | no next file with comments »

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