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 martin.panter
Recipients Ben Cipollini, Matthew.Brett, martin.panter, nadeem.vawda, serhiy.storchaka, twouters
Date 2015-11-19.08:34:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447922066.91.0.0361186334131.issue25626@psf.upfronthosting.co.za>
In-reply-to
Content
Okay. For the gzip module, I cannot easily test this myself. Quickly looking at other cases, I guess it would look something like this, but I need to spend some time understanging the bigmemtest decorator properly:

@unittest.skipIf(sys.maxsize < _4G, "Requires non-32-bit system")
@test.support.bigmemtest(_4G, 1, dry_run=False)
def test_large_read(self, size):
    ...
    data = reader.read(size)  # Should not raise OverflowError
    self.assertEqual(data, b"data")
History
Date User Action Args
2015-11-19 08:34:26martin.pantersetrecipients: + martin.panter, twouters, nadeem.vawda, serhiy.storchaka, Matthew.Brett, Ben Cipollini
2015-11-19 08:34:26martin.pantersetmessageid: <1447922066.91.0.0361186334131.issue25626@psf.upfronthosting.co.za>
2015-11-19 08:34:26martin.panterlinkissue25626 messages
2015-11-19 08:34:26martin.pantercreate