summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 21:49:25 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 21:49:25 (GMT)
commitd51a76f668811c03a03ead9f51f8de7fd38b9981 (patch)
tree30994c600b47be8cac9d38afbfcaf236074904a0 /Lib/test
parentccc342d67addf4038cf1babd9b46a6149e45185c (diff)
parent5d82895c5eb50764d5e4ec77ca8ce140ec5d9643 (diff)
downloadcpython-d51a76f668811c03a03ead9f51f8de7fd38b9981.zip
cpython-d51a76f668811c03a03ead9f51f8de7fd38b9981.tar.gz
cpython-d51a76f668811c03a03ead9f51f8de7fd38b9981.tar.bz2
Merge with 3.4
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/script_helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/script_helper.py b/Lib/test/script_helper.py
index 5559349..a7bb0d5 100644
--- a/Lib/test/script_helper.py
+++ b/Lib/test/script_helper.py
@@ -155,8 +155,8 @@ def make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
script_name = make_script(zip_dir, script_basename, source)
unlink.append(script_name)
if compiled:
- init_name = py_compile(init_name, doraise=True)
- script_name = py_compile(script_name, doraise=True)
+ init_name = py_compile.compile(init_name, doraise=True)
+ script_name = py_compile.compile(script_name, doraise=True)
unlink.extend((init_name, script_name))
pkg_names = [os.sep.join([pkg_name]*i) for i in range(1, depth+1)]
script_name_in_zip = os.path.join(pkg_names[-1], os.path.basename(script_name))