This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pythonhacker
Recipients alexandre.vassalotti, pythonhacker
Date 2008-08-04.04:24:58
SpamBayes Score 0.0013858908
Marked as misclassified No
Message-id <1217823899.34.0.191133627008.issue3492@psf.upfronthosting.co.za>
In-reply-to
Content
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 .
History
Date User Action Args
2008-08-04 04:24:59pythonhackersetrecipients: + pythonhacker, alexandre.vassalotti
2008-08-04 04:24:59pythonhackersetmessageid: <1217823899.34.0.191133627008.issue3492@psf.upfronthosting.co.za>
2008-08-04 04:24:58pythonhackerlinkissue3492 messages
2008-08-04 04:24:58pythonhackercreate