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

Delta Between Two Patch Sets: Lib/test/support/script_helper.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/support/__init__.py ('k') | Lib/test/test_base64.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 # Common utility functions used by various script execution tests 1 # Common utility functions used by various script execution tests
2 # e.g. test_cmd_line, test_cmd_line_script and test_runpy 2 # e.g. test_cmd_line, test_cmd_line_script and test_runpy
3 3
4 import collections 4 import collections
5 import importlib 5 import importlib
6 import sys 6 import sys
7 import os 7 import os
8 import os.path 8 import os.path
9 import tempfile 9 import tempfile
10 import subprocess 10 import subprocess
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 zip_file.write(script_name, script_name_in_zip) 238 zip_file.write(script_name, script_name_in_zip)
239 zip_file.close() 239 zip_file.close()
240 for name in unlink: 240 for name in unlink:
241 os.unlink(name) 241 os.unlink(name)
242 #if test.support.verbose: 242 #if test.support.verbose:
243 # zip_file = zipfile.ZipFile(zip_name, 'r') 243 # zip_file = zipfile.ZipFile(zip_name, 'r')
244 # print 'Contents of %r:' % zip_name 244 # print 'Contents of %r:' % zip_name
245 # zip_file.printdir() 245 # zip_file.printdir()
246 # zip_file.close() 246 # zip_file.close()
247 return zip_name, os.path.join(zip_name, script_name_in_zip) 247 return zip_name, os.path.join(zip_name, script_name_in_zip)
LEFTRIGHT

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