Message254887
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") |
|
Date |
User |
Action |
Args |
2015-11-19 08:34:26 | martin.panter | set | recipients:
+ martin.panter, twouters, nadeem.vawda, serhiy.storchaka, Matthew.Brett, Ben Cipollini |
2015-11-19 08:34:26 | martin.panter | set | messageid: <1447922066.91.0.0361186334131.issue25626@psf.upfronthosting.co.za> |
2015-11-19 08:34:26 | martin.panter | link | issue25626 messages |
2015-11-19 08:34:26 | martin.panter | create | |
|