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

Fix test discovery for test_array.py #61092

Closed
zware opened this issue Jan 7, 2013 · 4 comments
Closed

Fix test discovery for test_array.py #61092

zware opened this issue Jan 7, 2013 · 4 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@zware
Copy link
Member

zware commented Jan 7, 2013

BPO 16888
Nosy @brettcannon, @ezio-melotti, @zware
Files
  • test_array.diff: test_array.py fix, version 1
  • test_array.v2.diff: Version 2
  • 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/ezio-melotti'
    closed_at = <Date 2013-01-10.04:07:29.464>
    created_at = <Date 2013-01-07.22:40:41.463>
    labels = ['type-bug', 'tests']
    title = 'Fix test discovery for test_array.py'
    updated_at = <Date 2013-01-10.04:07:29.463>
    user = 'https://github.com/zware'

    bugs.python.org fields:

    activity = <Date 2013-01-10.04:07:29.463>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-01-10.04:07:29.464>
    closer = 'ezio.melotti'
    components = ['Tests']
    creation = <Date 2013-01-07.22:40:41.463>
    creator = 'zach.ware'
    dependencies = []
    files = ['28624', '28654']
    hgrepos = []
    issue_num = 16888
    keywords = ['patch']
    message_count = 4.0
    messages = ['179291', '179458', '179516', '179517']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'ezio.melotti', 'python-dev', 'zach.ware']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16888'
    versions = ['Python 3.3', 'Python 3.4']

    @zware
    Copy link
    Member Author

    zware commented Jan 7, 2013

    Here's a patch to fix test_array.py

    @zware zware added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Jan 7, 2013
    @ezio-melotti ezio-melotti self-assigned this Jan 7, 2013
    @zware
    Copy link
    Member Author

    zware commented Jan 9, 2013

    Version 2 removes test_main() and associated tests list.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 10, 2013

    New changeset 1538307c06c0 by Ezio Melotti in branch '3.3':
    bpo-16888: test_array now works with unittest test discovery. Patch by Zachary Ware.
    http://hg.python.org/cpython/rev/1538307c06c0

    New changeset 16c58eeca0f8 by Ezio Melotti in branch 'default':
    bpo-16888: merge with 3.3.
    http://hg.python.org/cpython/rev/16c58eeca0f8

    @ezio-melotti
    Copy link
    Member

    Fixed, thanks for the patch!

    @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
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants