[issue20746] test_pdb fails in refleak mode

2014-08-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: The regrtest.py part has been fixed independently in #22104 (thank you Zachary). I've now pushed the rest of the patch for test_pdb. Thank you Xavier! -- nosy: +zach.ware resolution: -> fixed stage: needs patch -> resolved status: open -> closed versio

[issue20746] test_pdb fails in refleak mode

2014-08-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset df832e0c6d7d by Antoine Pitrou in branch '3.4': Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye. http://hg.python.org/cpython/rev/df832e0c6d7d New changeset d2041159e8ed by Antoine Pitrou in branch 'default': Issue

[issue20746] test_pdb fails in refleak mode

2014-07-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sorry, I posted to the wrong issue, please ignore my previous message. -- ___ Python tracker ___ ___

[issue20746] test_pdb fails in refleak mode

2014-07-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is because breakpoints number are class attributes. With the following change, the "./python -m test test_pdb test_pdb" is ok: $ hg diff diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -614,

[issue20746] test_pdb fails in refleak mode

2014-07-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20746] test_pdb fails in refleak mode

2014-03-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_statistics also defines a load_tests() function that builds unittest tests from doctests with doctest.DocTestSuite() and also fails in refleak mode. The above regrtest.diff patch also fixes the test_statistics in refleak mode. --

[issue20746] test_pdb fails in refleak mode

2014-03-01 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also issue 20766. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue20746] test_pdb fails in refleak mode

2014-03-01 Thread Xavier de Gaye
Xavier de Gaye added the comment: The doctests are executed with 'test.globs' as globals which is set in the 'find' method of doctest.DocTestFinder, and cleared after each run (unless 'clear_globs' is false). One possible fix is to have test.regrtest 'find' a new test_runner before each run i

[issue20746] test_pdb fails in refleak mode

2014-02-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: $ ./python -m test -W -R3:3 test_pdb [1/1] test_pdb [...] == FAIL: test_list_commands (test.test_pdb) Doctest: test.test_pdb.test_list_commands