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

assertEquals deprecated in test_program.py (unittest) #61712

Closed
grooverdan mannequin opened this issue Mar 21, 2013 · 3 comments
Closed

assertEquals deprecated in test_program.py (unittest) #61712

grooverdan mannequin opened this issue Mar 21, 2013 · 3 comments
Assignees
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@grooverdan
Copy link
Mannequin

grooverdan mannequin commented Mar 21, 2013

BPO 17510
Nosy @ezio-melotti
Files
  • unittest.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/ezio-melotti'
    closed_at = <Date 2013-03-23.14:47:58.317>
    created_at = <Date 2013-03-21.20:45:15.910>
    labels = ['type-feature', 'tests']
    title = 'assertEquals deprecated in test_program.py (unittest)'
    updated_at = <Date 2013-03-23.14:47:58.315>
    user = 'https://bugs.python.org/grooverdan'

    bugs.python.org fields:

    activity = <Date 2013-03-23.14:47:58.315>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-03-23.14:47:58.317>
    closer = 'ezio.melotti'
    components = ['Tests']
    creation = <Date 2013-03-21.20:45:15.910>
    creator = 'grooverdan'
    dependencies = []
    files = ['29533']
    hgrepos = []
    issue_num = 17510
    keywords = ['patch']
    message_count = 3.0
    messages = ['184906', '185062', '185064']
    nosy_count = 3.0
    nosy_names = ['ezio.melotti', 'grooverdan', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17510'
    versions = ['Python 3.4']

    @grooverdan
    Copy link
    Mannequin Author

    grooverdan mannequin commented Mar 21, 2013

    Following bpo-9424 here's a patch that changes assertEquals -> assertEqual for Lib/unittest/test/test_program.py

    against hg tip as of now

    @grooverdan grooverdan mannequin added tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Mar 21, 2013
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Mar 23, 2013

    New changeset fd7f99e662b7 by Ezio Melotti in branch 'default':
    bpo-17510: avoid using deprecated assertEquals method in test_program. Patch by Daniel Black.
    http://hg.python.org/cpython/rev/fd7f99e662b7

    @ezio-melotti
    Copy link
    Member

    Fixed, thanks for the report and the patch!

    @ezio-melotti ezio-melotti self-assigned this Mar 23, 2013
    @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-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant