Issue 25317: Convert test_tokenize to unittests (original) (raw)

Issue25317

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/69504

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:22 admin set github: 69504
2015-10-06 15:56:23 serhiy.storchaka set status: open -> closedassignee: serhiy.storchakaresolution: fixedstage: patch review -> resolved
2015-10-06 15:54:00 python-dev set nosy: + python-devmessages: +
2015-10-05 11:19:50 eric.smith set nosy: + eric.smithmessages: +
2015-10-05 09:40:53 serhiy.storchaka set title: Convert test_ -> Convert test_tokenize to unittests
2015-10-05 09:37:57 serhiy.storchaka create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements