Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.

This commit is contained in:
Antoine Pitrou 2014-08-11 21:41:46 -04:00
commit bd7ff30ff9
2 changed files with 5 additions and 0 deletions

View File

@ -614,6 +614,8 @@ def test_next_until_return_at_return_event():
... test_function_2() ... test_function_2()
... end = 1 ... end = 1
>>> from bdb import Breakpoint
>>> Breakpoint.next = 1
>>> with PdbTestInput(['break test_function_2', >>> with PdbTestInput(['break test_function_2',
... 'continue', ... 'continue',
... 'return', ... 'return',

View File

@ -832,6 +832,9 @@ Documentation
Tests Tests
----- -----
- Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier
de Gaye.
- Issue #22060: test_ctypes has been somewhat cleaned up and simplified; it - Issue #22060: test_ctypes has been somewhat cleaned up and simplified; it
now uses unittest test discovery to find its tests. now uses unittest test discovery to find its tests.