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

Enhance locale testing #67662

Closed
serhiy-storchaka opened this issue Feb 17, 2015 · 3 comments
Closed

Enhance locale testing #67662

serhiy-storchaka opened this issue Feb 17, 2015 · 3 comments
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 23474
Nosy @malemburg, @loewis, @serhiy-storchaka
Files
  • test__locale.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 = None
    closed_at = <Date 2015-02-18.06:06:58.410>
    created_at = <Date 2015-02-17.18:34:06.504>
    labels = ['type-feature', 'tests']
    title = 'Enhance locale testing'
    updated_at = <Date 2015-02-18.06:06:58.409>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-02-18.06:06:58.409>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-02-18.06:06:58.410>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2015-02-17.18:34:06.504>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['38159']
    hgrepos = []
    issue_num = 23474
    keywords = ['patch']
    message_count = 3.0
    messages = ['236141', '236153', '236164']
    nosy_count = 4.0
    nosy_names = ['lemburg', 'loewis', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23474'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    @serhiy-storchaka
    Copy link
    Member Author

    Proposed patch enhance locale testing. test__locale is converted to support unittest discovery. When there are no suitable locales (e.g. there is only POSIX locale) tests are reported as skipped. Tested thousands_sep with non-english locales. Tested non-ascii values of decimal_point and thousands_sep with the ps_AF locale. In test_locale Turkish locale test no longer break a line.

    @serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Feb 17, 2015
    @malemburg
    Copy link
    Member

    On 17.02.2015 19:34, Serhiy Storchaka wrote:

    Proposed patch enhance locale testing. test__locale is converted to support unittest discovery. When there are no suitable locales (e.g. there is only POSIX locale) tests are reported as skipped. Tested thousands_sep with non-english locales. Tested non-ascii values of decimal_point and thousands_sep with the ps_AF locale. In test_locale Turkish locale test no longer break a line.

    Look good. Thanks, Serhiy.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Feb 18, 2015

    New changeset 7ef372f656d1 by Serhiy Storchaka in branch '2.7':
    Issue bpo-23474: Enhanced locale testing.
    https://hg.python.org/cpython/rev/7ef372f656d1

    New changeset b53aadd9cf85 by Serhiy Storchaka in branch '3.4':
    Issue bpo-23474: Enhanced locale testing.
    https://hg.python.org/cpython/rev/b53aadd9cf85

    New changeset 4f7c5349e801 by Serhiy Storchaka in branch 'default':
    Issue bpo-23474: Enhanced locale testing.
    https://hg.python.org/cpython/rev/4f7c5349e801

    @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

    2 participants