[New-bugs-announce] [issue30207] Rename test.test_support to test.support in 2.7
Serhiy Storchaka
report at bugs.python.org
Sat Apr 29 06:52:06 EDT 2017
New submission from Serhiy Storchaka:
Proposed patch converts test.test_support into package and rename it to test.support, move test.script_helper into the test.support package. Old names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper for compatibility (hence most tests don't need modification).
Benefits of this change:
1. This makes the structure of the test directory more compatible with 3.x. This helps bacporting tests. There were a number of cases when the only required change in backported 2.7 patch was changing "support" to "test_support". Many times backporting simple tests broke 2.7 buildbots because this change was not made.
2. This makes easier backporting changes in test.support itself and backporting 3.x features from test.support.
----------
components: Tests
messages: 292590
nosy: ezio.melotti, michael.foord, ncoghlan, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Rename test.test_support to test.support in 2.7
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30207>
_______________________________________
More information about the New-bugs-announce
mailing list