Issue 30366: Backport tests for test.support to 2.7 (original) (raw)

Issue30366

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/74551

classification

Title: Backport tests for test.support to 2.7
Type: enhancement Stage: resolved
Components: Tests Versions: Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, michael.foord, serhiy.storchaka, vstinner
Priority: normal Keywords:

Created on 2017-05-14 17:46 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1582 merged serhiy.storchaka,2017-05-14 17:56
Messages (3)
msg293656 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-14 17:46
Proposed patch backports tests for test.support to 2.7. test_support.py is an old name of test.support, so the test is renamed to test_test_support.py. The patch also backports few useful functions in test.support for which tests are written.
msg293657 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-14 17:51
Also backported new functions temp_dir() and python_is_optimized(). temp_cwd() now accepts None as a name (means using tempfile.mkdtemp). check_syntax_error() now accepts arguments lineno and offset.
msg293691 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-15 08:59
New changeset eb66897e875eecd78bcb9a330a819bca6e09e7a2 by Serhiy Storchaka in branch '2.7': [2.7] bpo-30366: Backport tests for test.support. (#1582) https://github.com/python/cpython/commit/eb66897e875eecd78bcb9a330a819bca6e09e7a2
History
Date User Action Args
2022-04-11 14:58:46 admin set github: 74551
2017-05-15 09:00:38 serhiy.storchaka set status: open -> closedresolution: fixedstage: patch review -> resolved
2017-05-15 08:59:38 serhiy.storchaka set messages: +
2017-05-14 17:56:05 serhiy.storchaka set pull_requests: + <pull%5Frequest1675>
2017-05-14 17:51:37 serhiy.storchaka set messages: +
2017-05-14 17:46:42 serhiy.storchaka create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements