Message301064
Actually, it's not the bug that is weird, but the heuristics in -R seem completely weird now. If I print the alloc and rc deltas:
$ ./python -m test -R 3:6 test_haypoleak
Run tests sequentially
0:00:00 load avg: 0.09 [1/1] test_haypoleak
beginning 9 repetitions
123456789
.........
alloc: [0, 0, 0, 1, 1, 1, 1, 1, 1], rc: [0, 0, 0, 0, 0, 0, 0, 0, 0]
test_haypoleak leaked [1, 1, 1, 1, 1, 1] memory blocks, sum=6
test_haypoleak failed
$ ./python -m test -R 2:6 test_haypoleak
Run tests sequentially
0:00:00 load avg: 0.10 [1/1] test_haypoleak
beginning 8 repetitions
12345678
........
alloc: [0, 0, 0, 1, 1, 1, 1, 1], rc: [0, 0, 0, 0, 0, 0, 0, 0]
1 test OK. |
|
Date |
User |
Action |
Args |
2017-08-31 22:04:23 | pitrou | set | recipients:
+ pitrou, rhettinger, vstinner, methane, serhiy.storchaka, xiang.zhang |
2017-08-31 22:04:23 | pitrou | set | messageid: <1504217063.36.0.631751194822.issue31317@psf.upfronthosting.co.za> |
2017-08-31 22:04:23 | pitrou | link | issue31317 messages |
2017-08-31 22:04:23 | pitrou | create | |
|