commit | eb66897e875eecd78bcb9a330a819bca6e09e7a2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon May 15 11:59:35 2017 +0300 |
committer | GitHub <noreply@github.com> | Mon May 15 11:59:35 2017 +0300 |
tree | 205fa4b23c4a34d516ae17578d3373056428d66e | |
parent | 982a17e02d99dcf6e4dff93110cff5ecc59247f5 [diff] |
[2.7] bpo-30366: Backport tests for test.support. (#1582) Also backport 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. Use more specific error messages in get_attribute().