diff options
author | Guido van Rossum <guido@python.org> | 1998-08-12 02:38:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-12 02:38:11 (GMT) |
commit | e03c05059534b4783c5631517cb16f79531358e8 (patch) | |
tree | 82285bf56d90ac5c062f328516a959dd416b8e45 /Lib/dos-8x3/test_zli.py | |
parent | 887d072cc04be23e6758257b326499bd1572b929 (diff) | |
download | cpython-e03c05059534b4783c5631517cb16f79531358e8.zip cpython-e03c05059534b4783c5631517cb16f79531358e8.tar.gz cpython-e03c05059534b4783c5631517cb16f79531358e8.tar.bz2 |
The usual.
Diffstat (limited to 'Lib/dos-8x3/test_zli.py')
-rw-r--r-- | Lib/dos-8x3/test_zli.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/dos-8x3/test_zli.py b/Lib/dos-8x3/test_zli.py index 72dbcfa..047e985 100644 --- a/Lib/dos-8x3/test_zli.py +++ b/Lib/dos-8x3/test_zli.py @@ -11,9 +11,9 @@ except ImportError: buf = file.read() * 8 file.close() -# test the chucksums -print zlib.crc32('penguin'), zlib.crc32('penguin', 1) -print zlib.adler32('penguin'), zlib.adler32('penguin', 1) +# test the chucksums (hex so the test doesn't break on 64-bit machines) +print hex(zlib.crc32('penguin')), hex(zlib.crc32('penguin', 1)) +print hex(zlib.adler32('penguin')), hex(zlib.adler32('penguin', 1)) # make sure we generate some expected errors try: |