diff options
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: |