[issue3492] Zlib compress/decompress functions returning bytearray
Anand B Pillai
report at bugs.python.org
Mon Aug 4 06:24:59 CEST 2008
Anand B Pillai <abpillai at gmail.com> added the comment:
Ok. I added two tests for checking the type of the returned object for
zlib.compress and zlib.decompress in test_zlib.py in the py3k branch.
Btw, my code uses assertEqual(type(...), bytes). Is this the proper way
of type checking in py3k ? I could not see any formal type for "bytes"
type in the types module.
Attaching the svn diff for test_zlib.py .
Added file: http://bugs.python.org/file11051/test_zlib_svn_diff.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3492>
_______________________________________
More information about the Python-bugs-list
mailing list