summaryrefslogtreecommitdiff
path: root/igor.py
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
commita420cbfc39ad1b303542a191f2630255a27a4d9d (patch)
treee6f3e787ae4d585be963f0eff803ede7d03c8d2e /igor.py
parent1cdc8d899b958f473f31cea04be9c1d8cc767f94 (diff)
downloadpython-coveragepy-git-a420cbfc39ad1b303542a191f2630255a27a4d9d.tar.gz
The zipped modules won't be readable if created under PyPy without an explicit close.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index 89d4a496..a4fd8ab5 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."""