[Python-checkins] [python/cpython] eb6689: [2.7] bpo-30366: Backport tests for test.support. ...

GitHub noreply at github.com
Mon May 15 04:59:38 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: eb66897e875eecd78bcb9a330a819bca6e09e7a2
      https://github.com/python/cpython/commit/eb66897e875eecd78bcb9a330a819bca6e09e7a2
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M Lib/test/support/__init__.py
    A Lib/test/test_test_support.py

  Log Message:
  -----------
  [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().




More information about the Python-checkins mailing list