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 2012年09月10日 17:00 by chris.jerdonek, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue15907.patch | jaywink, 2014年08月02日 13:29 | Patch for issue 15907 | review | |
| issue15907_2.patch | jaywink, 2014年08月07日 16:56 | review | ||
| issue15907_3.patch | jaywink, 2014年08月07日 16:57 | hg diff --git | review | |
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 25914 | closed | 00Kai0, 2021年05月05日 10:06 | |
| Messages (7) | |||
|---|---|---|---|
| msg170204 - (view) | Author: Chris Jerdonek (chris.jerdonek) * (Python committer) | Date: 2012年09月10日 17:00 | |
doctest currently has 8 "data" files used for testing that are spread across Lib/test (in addition to the main test files test_doctest.py and test_doctest2.py): doctest_aliases.py sample_doctest.py sample_doctest_no_docstrings.py sample_doctest_no_doctests.py test_doctest.txt test_doctest2.txt test_doctest3.txt test_doctest4.txt This issue is to move these files into a common subdirectory of Lib/test (e.g. Lib/test/doctest). This will simplify the organization of doctest's tests (e.g. by making the supporting files easier to discover) and reduce clutter in the main test directory. Note that test_zipimport_support (and perhaps also test_pyclbr) will also require changes. This issue came out of discussions with R. David Murray in the context of working on issue 14649. |
|||
| msg221901 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年06月29日 20:55 | |
@Chris can you provide a patch for this? |
|||
| msg224563 - (view) | Author: Jason Robinson (jaywink) * | Date: 2014年08月02日 13:29 | |
Here is a patch that hopefully does what was intended. All the tests passed locally, hopefully the tests we're adapted correctly to the new location of the files. My first patch :) I added a new "data" file 'doctest_DocFileSuite_test.txt' to Lib/test to keep the test that tests that doctest.DocFileSuite loads files from calling module path. All the old files I moved to Lib/test/doctest and adapted tests to use them from there. |
|||
| msg225032 - (view) | Author: Jason Robinson (jaywink) * | Date: 2014年08月07日 16:56 | |
Ezio, here are new versions of the patch. This time I used `hg mv` command to move the files to the new location and then copied over the correct versions. It does look though to me that there is no difference except timestamps. I will upload also a --git version in the next comment. |
|||
| msg225033 - (view) | Author: Jason Robinson (jaywink) * | Date: 2014年08月07日 16:57 | |
Here is the `hg diff --git` patch. Hope this one applies :) |
|||
| msg391236 - (view) | Author: Irit Katriel (iritkatriel) * (Python committer) | Date: 2021年04月16日 17:24 | |
The patch needs to be converted into a github PR. |
|||
| msg397613 - (view) | Author: Irit Katriel (iritkatriel) * (Python committer) | Date: 2021年07月16日 11:26 | |
This kind of reorg was recently rejected in issue44573, while this issue being open inspired similar initiative (eg issue44650). For those reasons I am closing this. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 60111 |
| 2021年07月16日 11:26:53 | iritkatriel | set | status: open -> closed resolution: not a bug stage: patch review -> resolved |
| 2021年07月16日 11:26:40 | iritkatriel | set | messages: + msg397613 |
| 2021年05月06日 19:26:28 | polischouckserg | set | nosy:
+ polischouckserg |
| 2021年05月05日 10:06:27 | 00Kai0 | set | nosy:
+ 00Kai0 pull_requests: + pull_request24583 stage: needs patch -> patch review |
| 2021年04月16日 17:24:12 | iritkatriel | set | versions:
+ Python 3.10, - Python 3.5 nosy: + iritkatriel messages: + msg391236 keywords: + easy stage: patch review -> needs patch |
| 2019年04月26日 20:26:50 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2014年08月08日 00:10:21 | berker.peksag | set | stage: patch review |
| 2014年08月07日 16:57:40 | jaywink | set | files:
+ issue15907_3.patch messages: + msg225033 |
| 2014年08月07日 16:56:32 | jaywink | set | files:
+ issue15907_2.patch messages: + msg225032 |
| 2014年08月02日 13:29:36 | jaywink | set | files:
+ issue15907.patch nosy: + ezio.melotti, jaywink messages: + msg224563 keywords: + patch |
| 2014年06月29日 20:55:03 | BreamoreBoy | set | versions:
+ Python 3.5, - Python 3.4 nosy: + BreamoreBoy messages: + msg221901 type: enhancement |
| 2012年09月10日 17:00:58 | chris.jerdonek | create | |