Nick Coghlan <ncogh...@gmail.com> added the comment: I'm not sure simply changing the value is the right thing to do - with older zlib versions (which do the wrong thing with 0), we definitely want that exception to be triggered.
For newer versions, we want to check that passing in 0 worked as specified in the zlib patch note and that -1 still raises the exception. Changing the test behaviour based on zlib.ZLIB_VERSION is likely the best option. ---------- nosy: +ncoghlan _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com