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.

classification
Title: Convert test_tokenize to unittests
Type: enhancement Stage: resolved
Components: Tests Versions: Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: eric.smith, ezio.melotti, meador.inge, michael.foord, pitrou, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2015-10-05 09:37 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_tokenize.patch serhiy.storchaka, 2015-10-05 09:37 review
Messages (3)
msg252312 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-10-05 09:37
A large part of test_tokenize is doctests. Doctests are less powerful than unittests, and error reporting in doctests is less informative than in unittests. Proposed patch converts doctests to unittests.
msg252317 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2015-10-05 11:19
+1
msg252399 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-10-06 15:53
New changeset 7b2af8ee6dfa by Serhiy Storchaka in branch '2.7':
Issue #25317: Converted doctests in test_tokenize to unittests.
https://hg.python.org/cpython/rev/7b2af8ee6dfa

New changeset d272f3cbae05 by Serhiy Storchaka in branch '3.4':
Issue #25317: Converted doctests in test_tokenize to unittests.
https://hg.python.org/cpython/rev/d272f3cbae05

New changeset bff40616d2a5 by Serhiy Storchaka in branch '3.5':
Issue #25317: Converted doctests in test_tokenize to unittests.
https://hg.python.org/cpython/rev/bff40616d2a5

New changeset 66d239660997 by Serhiy Storchaka in branch 'default':
Issue #25317: Converted doctests in test_tokenize to unittests.
https://hg.python.org/cpython/rev/66d239660997
History
Date User Action Args
2022-04-11 14:58:22adminsetgithub: 69504
2015-10-06 15:56:23serhiy.storchakasetstatus: open -> closed
assignee: serhiy.storchaka
resolution: fixed
stage: patch review -> resolved
2015-10-06 15:54:00python-devsetnosy: + python-dev
messages: + msg252399
2015-10-05 11:19:50eric.smithsetnosy: + eric.smith
messages: + msg252317
2015-10-05 09:40:53serhiy.storchakasettitle: Convert test_ -> Convert test_tokenize to unittests
2015-10-05 09:37:57serhiy.storchakacreate