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: 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:46adminsetgithub: 74551
2017-05-15 09:00:38serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2017-05-15 08:59:38serhiy.storchakasetmessages: + msg293691
2017-05-14 17:56:05serhiy.storchakasetpull_requests: + pull_request1675
2017-05-14 17:51:37serhiy.storchakasetmessages: + msg293657
2017-05-14 17:46:42serhiy.storchakacreate