summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipimport.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
commitf2715e076435b74638acb81512c2ee014f75aea2 (patch)
tree8f50b5bca2f1d4d7c232894d907996f4104c3515 /Lib/test/test_zipimport.py
parentf805cd2c1f4d850b1d933f39e63a61a3348ec224 (diff)
downloadcpython-f2715e076435b74638acb81512c2ee014f75aea2.zip
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.gz
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_zipimport.py')
-rw-r--r--Lib/test/test_zipimport.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
index c9aff4a..894b132 100644
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -16,11 +16,11 @@ import zipimport
def make_pyc(co, mtime):
data = marshal.dumps(co)
if type(mtime) is type(0.0):
- # Mac mtimes need a bit of special casing
- if mtime < 0x7fffffff:
- mtime = int(mtime)
- else:
- mtime = int(-0x100000000L + long(mtime))
+ # Mac mtimes need a bit of special casing
+ if mtime < 0x7fffffff:
+ mtime = int(mtime)
+ else:
+ mtime = int(-0x100000000L + long(mtime))
pyc = imp.get_magic() + struct.pack("<i", int(mtime)) + data
return pyc