summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-09-02 09:03:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-09-02 09:03:40 -0400
commit885552699ffa4e5293e24c2d8e7bc75ad75c3c07 (patch)
tree5e58b7638919e95fe36ee9eadef4d95933c3b80c
parent3fb0141a069e347c0b0e1f2ae9195f1a17a3f8d3 (diff)
downloadpython-coveragepy-885552699ffa4e5293e24c2d8e7bc75ad75c3c07.tar.gz
The zipped modules won't be readable if created under PyPy without an explicit close.
-rw-r--r--igor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index 89d4a49..a4fd8ab 100644
--- a/igor.py
+++ b/igor.py
@@ -47,6 +47,7 @@ def do_zip_mods(args):
"""Build the zipmods.zip file."""
zf = zipfile.ZipFile("test/zipmods.zip", "w")
zf.write("test/covmodzip1.py", "covmodzip1.py")
+ zf.close()
def do_check_eol(args):
"""Check files for incorrect newlines and trailing whitespace."""