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

Improve tests for syntax and grammar in 2.7 #76663

Closed
serhiy-storchaka opened this issue Jan 2, 2018 · 4 comments
Closed

Improve tests for syntax and grammar in 2.7 #76663

serhiy-storchaka opened this issue Jan 2, 2018 · 4 comments
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 32482
Nosy @benjaminp, @serhiy-storchaka
PRs
  • [2.7] bpo-32482: Improve syntax and grammar tests in 2.7 #5085
  • bpo-32482: Fix suspicious code in tests for syntax and grammar. #5086
  • [3.6] bpo-32482: Fix suspicious code in tests for syntax and grammar. (GH-5086) #5095
  • 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 = None
    closed_at = <Date 2018-01-04.09:34:31.427>
    created_at = <Date 2018-01-02.15:20:43.017>
    labels = ['type-feature', 'tests']
    title = 'Improve tests for syntax and grammar in 2.7'
    updated_at = <Date 2018-01-04.09:34:31.426>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2018-01-04.09:34:31.426>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-04.09:34:31.427>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2018-01-02.15:20:43.017>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32482
    keywords = ['patch']
    message_count = 4.0
    messages = ['309374', '309456', '309457', '309461']
    nosy_count = 2.0
    nosy_names = ['benjamin.peterson', 'serhiy.storchaka']
    pr_nums = ['5085', '5086', '5095']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32482'
    versions = ['Python 2.7']

    @serhiy-storchaka
    Copy link
    Member Author

    The proposed PR:

    • Fixes Py3k warnings introduced by recent backports.
    • Backports tests from Python 3.
    • Improve handling of Py3k warnings. They are now checked only for statements that emit them instead of silencing for the whole module.
    • Fixes few minor defects that can lead to hiding expected errors.

    @serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Jan 2, 2018
    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 0bcba37 by Serhiy Storchaka in branch '2.7':
    bpo-32482: Improve syntax and grammar tests. (bpo-5085)
    0bcba37

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 0cc99c8 by Serhiy Storchaka in branch 'master':
    bpo-32482: Fix suspicious code in tests for syntax and grammar. (bpo-5086)
    0cc99c8

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset a70d5ff by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':
    bpo-32482: Fix suspicious code in tests for syntax and grammar. (GH-5086) (bpo-5095)
    a70d5ff

    @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