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年11月13日 17:18 by zach.ware, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| skiptest_not_return_or_pass.diff | zach.ware, 2013年11月13日 17:18 | review | ||
| skiptest_not_return_or_pass.v2.diff | zach.ware, 2013年11月13日 20:24 | A couple additional skips | review | |
| skiptest_not_return_or_pass.v3.diff | zach.ware, 2013年11月14日 22:05 | Version 3 | review | |
| skiptest_not_return_or_pass.v4-3.3.diff | zach.ware, 2013年11月20日 18:27 | review | ||
| skiptest_not_return_or_pass.v4-2.7.diff | zach.ware, 2013年11月21日 19:41 | review | ||
| skiptest_not_return_or_pass.v5-2.7.diff | zach.ware, 2013年12月10日 17:25 | 2.7, version 5 | review | |
| skiptest_not_return_or_pass.v6-2.7.diff | zach.ware, 2013年12月10日 17:46 | Version 6, the real version 5! | review | |
| Messages (23) | |||
|---|---|---|---|
| msg202762 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月13日 17:18 | |
(Nosy list copied from #18702) Grepping for "^\s+return$" and "^\s+pass$" in Lib/test turned up several more tests that are silently skipped (along with many legitimate uses of each). The attached patch turns each into a skip in a few various ways, including splitting a test into two tests in a couple of cases. I'll make a few comments on Rietveld myself to point out places where I would really like some extra scrutiny. |
|||
| msg202769 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年11月13日 19:05 | |
See also issue19492 and issue19493. |
|||
| msg202774 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月13日 20:24 | |
Starting a review of #19492, I realized my original regexs didn't take comments into account. Grepping "^\s+return\s*(#.*)?$" instead turned up a couple more skips, including some in test_tempfile that said "return # ugh, can't use SkipTest", relics of the days before unittest.SkipTest. |
|||
| msg202793 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年11月13日 22:35 | |
I added some comments on Rietveld to the first patch. In general it LGTM. I will made a review for additional skips tomorrow. I suggest extract importlib related changes in separated issue. Bratt Cannon should review them. |
|||
| msg202795 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年11月13日 22:44 | |
> I will made a review for additional skips tomorrow. Additional skips LGTM. |
|||
| msg202906 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月14日 22:05 | |
Here's a new patch to address the reviews from Serhiy and Ezio (thanks to you both!). |
|||
| msg203076 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2013年11月16日 18:59 | |
I get a failure on Linux with test_posix: $ ./python -m test test_posix [1/1] test_posix test test_posix failed -- Traceback (most recent call last): File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 713, in test_getcwd_long_pathnames _create_and_do_getcwd(dirname) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 708, in _create_and_do_getcwd _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) File "/home/wolf/dev/py/py3k/Lib/test/test_posix.py", line 706, in _create_and_do_getcwd os.getcwd() OSError: [Errno 34] Numerical result out of range 1 test failed: test_posix |
|||
| msg203080 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年11月16日 20:38 | |
Except pickletester and test_posix third patch LGTM. test_posix is worth separate issue. test_reduce and test_getinitargs in pickletester are always empty and can be just removed (if you don't want implement them). |
|||
| msg203334 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月19日 03:20 | |
I'll open new issues for test_posix and pickletester and commit the rest of the patch as soon as I can get it backported. Thanks for the reviews! |
|||
| msg203494 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月20日 15:42 | |
pickletester issue opened at #19648. The test_posix issue already has an open issue at #9246. |
|||
| msg203526 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年11月20日 19:48 | |
skiptest_not_return_or_pass.v4-3.3.diff LGTM. |
|||
| msg203647 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年11月21日 15:53 | |
The 2.7 patch has a lot of extra changes in it, extra review is probably in order for it. |
|||
| msg205522 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年12月08日 06:45 | |
New changeset 3283fb24106d by Zachary Ware in branch '3.3': Issue 19572: More silently skipped tests explicitly skipped. http://hg.python.org/cpython/rev/3283fb24106d New changeset 03afd2d7d395 by Zachary Ware in branch 'default': Issue 19572: More silently skipped tests explicitly skipped. http://hg.python.org/cpython/rev/03afd2d7d395 |
|||
| msg205523 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年12月08日 06:46 | |
Committed on 3.3 and default; I'd still like some extra eyes on the 2.7 patch before I commit it. |
|||
| msg205533 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年12月08日 09:21 | |
I have added few comments on Rietveld. |
|||
| msg205836 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年12月10日 17:25 | |
Here's a new 2.7 patch. It addresses Serhiy's review comments and doesn't change test_xpickle, which I will be opening a new issue for. |
|||
| msg205838 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年12月10日 17:34 | |
I missed the comments on test_bsddb; I'll either post a new patch here or open a new issue depending on how big that diff becomes. |
|||
| msg205839 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年12月10日 17:46 | |
This patch includes Serhiy's suggestions. Oops! |
|||
| msg205844 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年12月10日 18:55 | |
$ ./python -3 -m test.regrtest test_builtin
test_builtin
test test_builtin crashed -- <type 'exceptions.AssertionError'>: filter ('.+ is renamed to imp.reload', DeprecationWarning) did not catch any warning
1 test failed:
test_builtin
Rest of the skiptest_not_return_or_pass.v6-2.7.diff patch LGTM.
|
|||
| msg205849 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年12月10日 20:09 | |
New changeset 423e09aedf79 by Zachary Ware in branch '2.7': Issue #19572: More silently skipped tests explicitly skipped. http://hg.python.org/cpython/rev/423e09aedf79 |
|||
| msg205851 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2013年12月10日 20:11 | |
Fixed that last comment in the commit. Thank you for all the reviews, Serhiy! |
|||
| msg205863 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年12月10日 22:06 | |
New changeset ca9bca7aecda by Zachary Ware in branch '2.7': Issue #19572: Replace a return that shouldn't have been removed from test_os. http://hg.python.org/cpython/rev/ca9bca7aecda |
|||
| msg205959 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年12月12日 16:33 | |
New changeset 1ad2ff119356 by Zachary Ware in branch '3.3': Avoid UnicodeEncodeError by only printing ASCII. http://hg.python.org/cpython/rev/1ad2ff119356 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:53 | admin | set | github: 63771 |
| 2013年12月12日 16:33:38 | python-dev | set | messages: + msg205959 |
| 2013年12月10日 22:06:59 | python-dev | set | messages: + msg205863 |
| 2013年12月10日 20:11:00 | zach.ware | set | status: open -> closed resolution: fixed messages: + msg205851 stage: patch review -> resolved |
| 2013年12月10日 20:09:41 | python-dev | set | messages: + msg205849 |
| 2013年12月10日 18:55:48 | serhiy.storchaka | set | messages: + msg205844 |
| 2013年12月10日 17:46:31 | zach.ware | set | files:
+ skiptest_not_return_or_pass.v6-2.7.diff messages: + msg205839 |
| 2013年12月10日 17:34:41 | zach.ware | set | messages: + msg205838 |
| 2013年12月10日 17:25:20 | zach.ware | set | files:
+ skiptest_not_return_or_pass.v5-2.7.diff messages: + msg205836 |
| 2013年12月08日 09:21:55 | serhiy.storchaka | set | messages: + msg205533 |
| 2013年12月08日 06:46:37 | zach.ware | set | assignee: zach.ware messages: + msg205523 versions: - Python 3.3, Python 3.4 |
| 2013年12月08日 06:45:25 | python-dev | set | nosy:
+ python-dev messages: + msg205522 |
| 2013年11月21日 19:41:49 | zach.ware | set | files: + skiptest_not_return_or_pass.v4-2.7.diff |
| 2013年11月21日 19:37:40 | zach.ware | set | files: - skiptest_not_return_or_pass.v4-2.7.diff |
| 2013年11月21日 15:53:57 | zach.ware | set | files:
+ skiptest_not_return_or_pass.v4-2.7.diff messages: + msg203647 |
| 2013年11月20日 19:48:50 | serhiy.storchaka | set | messages: + msg203526 |
| 2013年11月20日 18:28:00 | zach.ware | set | files: + skiptest_not_return_or_pass.v4-3.3.diff |
| 2013年11月20日 15:42:18 | zach.ware | set | messages: + msg203494 |
| 2013年11月19日 03:20:30 | zach.ware | set | messages: + msg203334 |
| 2013年11月16日 20:38:35 | serhiy.storchaka | set | messages: + msg203080 |
| 2013年11月16日 18:59:28 | ezio.melotti | set | messages: + msg203076 |
| 2013年11月14日 22:05:55 | zach.ware | set | files:
+ skiptest_not_return_or_pass.v3.diff messages: + msg202906 versions: + Python 2.7 |
| 2013年11月13日 22:44:10 | serhiy.storchaka | set | messages: + msg202795 |
| 2013年11月13日 22:35:17 | serhiy.storchaka | set | messages: + msg202793 |
| 2013年11月13日 20:24:41 | zach.ware | set | files:
+ skiptest_not_return_or_pass.v2.diff messages: + msg202774 |
| 2013年11月13日 19:05:58 | serhiy.storchaka | set | messages: + msg202769 |
| 2013年11月13日 17:18:58 | zach.ware | create | |