[issue30366] Backport tests for test.support to 2.7

2017-05-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue30366] Backport tests for test.support to 2.7

2017-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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 -- _

[issue30366] Backport tests for test.support to 2.7

2017-05-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30366] Backport tests for test.support to 2.7

2017-05-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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. -- ___ Python t

[issue30366] Backport tests for test.support to 2.7

2017-05-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: 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. -- a