Skip to content

bpo-30207: Rename test.test_support to test.support.#1353

Merged
serhiy-storchaka merged 3 commits into
python:2.7from
serhiy-storchaka:move-test_support
Apr 30, 2017
Merged

bpo-30207: Rename test.test_support to test.support.#1353
serhiy-storchaka merged 3 commits into
python:2.7from
serhiy-storchaka:move-test_support

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

The test.test_support module was converted into package and renamed
to test.support. The test.script_helper module was moved into
the test.support package. Names test.test_support and
test.script_helper are left as aliases to test.support and
test.support.script_helper.

The test.test_support module was converted into package and renamed
to test.support.  The test.script_helper module was moved into
the test.support package.  Names test.test_support and
test.script_helper are left as aliases to test.support and
test.support.script_helper.
@serhiy-storchaka serhiy-storchaka added the tests Tests in the Lib/test dir label Apr 29, 2017

@ncoghlan ncoghlan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual change looks good to me, just a couple of suggested wording tweaks to the docs note and the NEWS entry.

Comment thread Doc/library/test.rst Outdated

The :mod:`test.test_support` module has been renamed to :mod:`test.support`
in Python 3.x.
The :mod:`test.support` module has been renamed to :mod:`test.support`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should start with "The test.test_support module..." and explicitly state that the latter has been retained as an alias in 2.7.x.

Comment thread Misc/NEWS Outdated
Tests
-----

- bpo-30207: The test.test_support module was converted into package and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest starting the NEWS entry with the rationale for the change: "To simplify backports from Python 3, ..."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there's a missing word - should be "converted into a package"

@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Thank you @ncoghlan for your review!

@serhiy-storchaka serhiy-storchaka merged commit a694e09 into python:2.7 Apr 30, 2017
@serhiy-storchaka serhiy-storchaka deleted the move-test_support branch April 30, 2017 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants