STINNER Victor added the comment: On Python 3.6, the leaking test is: test.test_json.test_speedups.TestEncode.test_bad_bool_args ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30936> _______________________________________