I'm able to reproduce the issue on master:
vstinner@apu$ ./python -m test -R 3:3 test_sys_setprofile -m test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method_invalid_args
Run tests sequentially
0:00:00 load avg: 0.82 [1/1] test_sys_setprofile
beginning 6 repetitions
123456
......
test_sys_setprofile leaked [1, 1, 1] references, sum=3
test_sys_setprofile failed
== Tests result: FAILURE ==
1 test failed:
test_sys_setprofile
Total duration: 113 ms
Tests result: FAILURE
The test has been modified recently:
commit 56868f940e0cc0b35d33c0070107ff3bed2d8766
Author: jdemeyer <jdemeyer@cage.ugent.be>
Date: Sat Jul 21 10:30:59 2018 +0200
bpo-34126: Fix crashes while profiling invalid calls. (GH-8300) |