Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename test_support to support #46873

Closed
benjaminp opened this issue Apr 12, 2008 · 12 comments
Closed

rename test_support to support #46873

benjaminp opened this issue Apr 12, 2008 · 12 comments
Assignees
Labels
easy release-blocker tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@benjaminp
Copy link
Contributor

BPO 2621
Nosy @loewis, @brettcannon, @birkenfeld, @benjaminp
Files
  • rename_test_support.patch
  • rename_test_support2.patch
  • rename_test_support_py3k.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/benjaminp'
    closed_at = <Date 2008-05-20.21:38:20.881>
    created_at = <Date 2008-04-12.00:32:24.582>
    labels = ['easy', 'type-feature', 'tests', 'release-blocker']
    title = 'rename test_support to support'
    updated_at = <Date 2008-05-20.22:09:32.204>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2008-05-20.22:09:32.204>
    actor = 'brett.cannon'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2008-05-20.21:38:20.881>
    closer = 'benjamin.peterson'
    components = ['Tests']
    creation = <Date 2008-04-12.00:32:24.582>
    creator = 'benjamin.peterson'
    dependencies = []
    files = ['10014', '10015', '10018']
    hgrepos = []
    issue_num = 2621
    keywords = ['patch', 'easy']
    message_count = 12.0
    messages = ['65385', '65392', '65396', '65403', '65597', '65598', '66301', '67086', '67110', '67124', '67137', '67138']
    nosy_count = 4.0
    nosy_names = ['loewis', 'brett.cannon', 'georg.brandl', 'benjamin.peterson']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2621'
    versions = ['Python 3.0']

    @benjaminp
    Copy link
    Contributor Author

    I used some brute force search and replace for this and it worked quite
    well. If this patch is accepted, I'll fix the docs.

    @benjaminp benjaminp added tests Tests in the Lib/test dir easy type-feature A feature request or enhancement labels Apr 12, 2008
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Apr 12, 2008

    What's the rationale for this change?

    @birkenfeld
    Copy link
    Member

    It would be nice if all test.test_foo modules were real tests.

    I know this is on the stdlib-sig's list of changes for 3.0; I don't
    think we should do the rename in 2.x.

    @benjaminp
    Copy link
    Contributor Author

    Right, we should do this only in Py3k. It might be helpful to make an
    alias in 2.6 for it. Attaching py3k patch.

    @benjaminp
    Copy link
    Contributor Author

    Brett, comments?

    @brettcannon
    Copy link
    Member

    I am going to assign this to me, but wait until Guido pronounces on PEP-3108 before moving forward with a review.

    @brettcannon brettcannon self-assigned this Apr 18, 2008
    @benjaminp
    Copy link
    Contributor Author

    Now that the stdlib-reorg PEP has been accepted, would you like you me
    to apply this patch? (Of course, I'll account for recent changes in the
    test suite.)

    @brettcannon
    Copy link
    Member

    No renames will occur in 2.6, only in 3.0, which means this can happen
    whenever.

    @birkenfeld
    Copy link
    Member

    Should be safe to apply now, Benjamin.

    @birkenfeld birkenfeld assigned benjaminp and unassigned brettcannon May 20, 2008
    @benjaminp
    Copy link
    Contributor Author

    On Tue, May 20, 2008 at 2:33 AM, Georg Brandl <report@bugs.python.org> wrote:

    Georg Brandl <georg@python.org> added the comment:

    Should be safe to apply now, Benjamin.

    Will do today.

    Cheers,
    Benjamin Peterson
    "There's no place like 127.0.0.1."

    @benjaminp
    Copy link
    Contributor Author

    Done in r63512.

    @brettcannon
    Copy link
    Member

    I just added the note to the docs in 2.6.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    easy release-blocker tests Tests in the Lib/test dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants