This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年10月27日 17:51 by Colin.Williams, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| bdb.patch | Colin.Williams, 2013年10月27日 17:51 | review | ||
| bdb.patch | Colin.Williams, 2013年11月03日 21:30 | review | ||
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 5217 | merged | xdegaye, 2018年01月17日 12:52 | |
| PR 6146 | merged | miss-islington, 2018年03月18日 20:03 | |
| PR 6150 | merged | xdegaye, 2018年03月19日 12:22 | |
| PR 6156 | merged | xdegaye, 2018年03月20日 09:43 | |
| Messages (17) | |||
|---|---|---|---|
| msg201481 - (view) | Author: Colin Williams (Colin.Williams) | Date: 2013年10月27日 17:51 | |
This one is pretty involved. The tests might reach into the guts of the modules a bit too much, I'd be open to less invasive suggestions. |
|||
| msg201948 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2013年11月01日 22:59 | |
Is the patch against 3.4? I am not sure if we backport new test files. |
|||
| msg201949 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2013年11月01日 23:05 | |
Does all of the code for say, BdbTestCase.setUp, need to be repeated for each test method, versus being put in a .setUpClass method to be executed just once for all the methods in BdbTestCase. |
|||
| msg202041 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2013年11月03日 17:33 | |
A less invasive alternative could be to instrument Bdb with a subclass that processes send-expect sequences. This is what does http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py This code could be adapted to run with python bdb. |
|||
| msg202063 - (view) | Author: Colin Williams (Colin.Williams) | Date: 2013年11月03日 21:30 | |
I've updated the patch to consolidate some duplicated code. Unfortunately, I wasn't able to move anything to setUpClass without messing even more with the internals. I haven't had a chance to refine the code further based on xdegaye's suggestions, but I wanted to make sure I was getting feedback on the most up-to-date code. |
|||
| msg292489 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年04月28日 00:20 | |
IDLE's debugger needs multiple patches. It is based on bdb. So I want to be able to understand the bdb code and know that it is sound. The file is nearly devoid of docstrings, so I would like to add those first, probably in a separate patch. A first draft can be derived from the bdb doc. Docstrings will help in reviewing the patch. |
|||
| msg292492 - (view) | Author: Cheryl Sabella (cheryl.sabella) * (Python committer) | Date: 2017年04月28日 00:54 | |
I'll work on the bdb docstrings. |
|||
| msg292578 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2017年04月29日 08:38 | |
> The file is nearly devoid of docstrings, so I would like to add those first, probably in a separate patch. Please move this new request for enhancement to a separate issue. |
|||
| msg292597 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年04月29日 19:20 | |
While I have previously done docstrings and tests together, I can see that for this issue, separation might be preferable. Cherl, can you open a new issue and re-title the PR? (I don't know if that will be sufficient to 'move' it, but I hope so.) |
|||
| msg292599 - (view) | Author: Cheryl Sabella (cheryl.sabella) * (Python committer) | Date: 2017年04月29日 19:57 | |
Moved to issue 30211 for docstrings. |
|||
| msg292621 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2017年04月30日 09:21 | |
Thanks Terry and Cheryl for splitting the issue :) |
|||
| msg293836 - (view) | Author: Cheryl Sabella (cheryl.sabella) * (Python committer) | Date: 2017年05月17日 02:50 | |
Wondering if it might make sense to use Mock in this patch? |
|||
| msg310157 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2018年01月17日 12:57 | |
PR 5217 adds the test.test_bdb module and provides a framework for adding more tests to the bdb module. Added versions 3.6 and 2.7. This is consistent with what was done in issues #21916 and #25616 for example, but the main reason is that most bdb bug fixes need to be backported to the maintenance and 2.7 versions and should use the same test case whenever possible. |
|||
| msg314053 - (view) | Author: Mariatta (Mariatta) * (Python committer) | Date: 2018年03月18日 20:02 | |
New changeset 3fe33043ee83d19e15551094fc1e0984617ded3c by Mariatta (xdegaye) in branch 'master': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/3fe33043ee83d19e15551094fc1e0984617ded3c |
|||
| msg314054 - (view) | Author: miss-islington (miss-islington) | Date: 2018年03月18日 20:25 | |
New changeset fdd8e8b4ffb68a4e8749bdc3b130fea7bbbf821e by Miss Islington (bot) in branch '3.7': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/fdd8e8b4ffb68a4e8749bdc3b130fea7bbbf821e |
|||
| msg314105 - (view) | Author: Mariatta (Mariatta) * (Python committer) | Date: 2018年03月19日 17:30 | |
New changeset 424f3dafea16fbaee55a30903af2d6717f4d4a6b by Mariatta (xdegaye) in branch '3.6': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/424f3dafea16fbaee55a30903af2d6717f4d4a6b |
|||
| msg325474 - (view) | Author: miss-islington (miss-islington) | Date: 2018年09月16日 06:09 | |
New changeset 57e70d3802a2a78e638999c6923053c63fe373f8 by Miss Islington (bot) (xdegaye) in branch '2.7': [2.7] bpo-19417: Add test_bdb.py (GH-5217) (GH-6156) https://github.com/python/cpython/commit/57e70d3802a2a78e638999c6923053c63fe373f8 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:52 | admin | set | github: 63616 |
| 2019年04月12日 17:46:24 | xdegaye | set | status: open -> closed dependencies: - Bdb: add docstrings resolution: fixed stage: patch review -> resolved |
| 2018年09月16日 06:09:17 | miss-islington | set | messages: + msg325474 |
| 2018年03月20日 09:43:06 | xdegaye | set | pull_requests: + pull_request5913 |
| 2018年03月19日 17:30:50 | Mariatta | set | messages: + msg314105 |
| 2018年03月19日 12:22:46 | xdegaye | set | pull_requests: + pull_request5908 |
| 2018年03月18日 20:25:17 | miss-islington | set | nosy:
+ miss-islington messages: + msg314054 |
| 2018年03月18日 20:03:00 | miss-islington | set | pull_requests: + pull_request5904 |
| 2018年03月18日 20:02:50 | Mariatta | set | nosy:
+ Mariatta messages: + msg314053 |
| 2018年01月17日 12:57:59 | xdegaye | set | messages:
+ msg310157 versions: + Python 2.7, Python 3.6 |
| 2018年01月17日 12:52:29 | xdegaye | set | pull_requests: + pull_request5070 |
| 2017年05月17日 02:50:44 | cheryl.sabella | set | messages: + msg293836 |
| 2017年04月30日 09:21:39 | xdegaye | set | messages: + msg292621 |
| 2017年04月29日 20:49:54 | terry.reedy | set | dependencies:
+ Bdb: add docstrings title: Bdb: add docstrings and a unittest file (test.test_bdb) -> Bdb: add a unittest file (test.test_bdb) |
| 2017年04月29日 19:57:35 | cheryl.sabella | set | messages: + msg292599 |
| 2017年04月29日 19:56:13 | cheryl.sabella | set | pull_requests: - pull_request1462 |
| 2017年04月29日 19:20:28 | terry.reedy | set | messages: + msg292597 |
| 2017年04月29日 08:38:33 | xdegaye | set | messages: + msg292578 |
| 2017年04月28日 20:28:23 | cheryl.sabella | set | pull_requests: + pull_request1462 |
| 2017年04月28日 00:54:16 | cheryl.sabella | set | nosy:
+ cheryl.sabella messages: + msg292492 |
| 2017年04月28日 00:20:23 | terry.reedy | set | assignee: terry.reedy title: Add tests for bdb (previously not tested) -> Bdb: add docstrings and a unittest file (test.test_bdb) messages: + msg292489 versions: + Python 3.7, - Python 3.4 |
| 2013年11月03日 21:30:02 | Colin.Williams | set | files:
+ bdb.patch messages: + msg202063 |
| 2013年11月03日 17:33:22 | xdegaye | set | nosy:
+ xdegaye messages: + msg202041 |
| 2013年11月01日 23:05:31 | terry.reedy | set | messages: + msg201949 |
| 2013年11月01日 22:59:09 | terry.reedy | set | type: enhancement title: bdb test coverage -> Add tests for bdb (previously not tested) components: + Tests nosy: + terry.reedy versions: + Python 3.4 messages: + msg201948 stage: patch review |
| 2013年10月27日 17:51:48 | Colin.Williams | create | |