equal
deleted
inserted
replaced
91 print( |
91 print( |
92 'abort: if --commit-to-repo is given, ' |
92 'abort: if --commit-to-repo is given, ' |
93 '--working-tests must be from that repo' |
93 '--working-tests must be from that repo' |
94 ) |
94 ) |
95 sys.exit(1) |
95 sys.exit(1) |
96 try: |
|
97 subprocess.check_call( |
|
98 [ |
|
99 opts.python3, |
|
100 '-c', |
|
101 'import sys ; ' |
|
102 'assert ((3, 5) <= sys.version_info < (3, 6) ' |
|
103 'or sys.version_info >= (3, 6, 2))', |
|
104 ] |
|
105 ) |
|
106 except subprocess.CalledProcessError: |
|
107 print( |
|
108 'warning: Python 3.6.0 and 3.6.1 have ' |
|
109 'a bug which breaks Mercurial' |
|
110 ) |
|
111 print('(see https://bugs.python.org/issue29714 for details)') |
|
112 sys.exit(1) |
|
113 |
96 |
114 rt = subprocess.Popen( |
97 rt = subprocess.Popen( |
115 [ |
98 [ |
116 opts.python3, |
99 opts.python3, |
117 'run-tests.py', |
100 'run-tests.py', |