Skip to content

test_locale failure on OpenBSD #75817

Closed
Closed

Description

@serhiy-storchaka
BPO 31636
Nosy @malemburg, @loewis, @terryjreedy, @serhiy-storchaka, @applio, @tirkarthi
Superseder
  • bpo-25191: test_getsetlocale_issue1813 failed on OpenBSD
  • 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 2020-12-08.13:42:43.080>
    created_at = <Date 2017-09-29.09:39:33.419>
    labels = ['3.7', 'type-bug', 'library']
    title = 'test_locale failure on OpenBSD'
    updated_at = <Date 2020-12-08.13:42:43.076>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-12-08.13:42:43.076>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-08.13:42:43.080>
    closer = 'terry.reedy'
    components = ['Library (Lib)']
    creation = <Date 2017-09-29.09:39:33.419>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31636
    keywords = ['patch']
    message_count = 3.0
    messages = ['303320', '326336', '382735']
    nosy_count = 6.0
    nosy_names = ['lemburg', 'loewis', 'terry.reedy', 'serhiy.storchaka', 'davin', 'xtreak']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25191'
    type = 'behavior'
    url = 'https://bugs.python.org/issue31636'
    versions = ['Python 3.7']

    Activity

    1. serhiy-storchaka commented on Sep 29, 2017

      @serhiy-storchaka
      MemberAuthor
      $ ./python -m test -vuall -m test_getsetlocale_issue1813 test_locale 
      ...
      test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ERROR

      ======================================================================
      ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/serhiy/py/cpython3.7/Lib/test/test_locale.py", line 531, in test_getsetlocale_issue1813
          locale.setlocale(locale.LC_CTYPE, loc)
        File "/home/serhiy/py/cpython3.7/Lib/locale.py", line 604, in setlocale
          return _setlocale(category, locale)
      locale.Error: unsupported locale setting

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Sep 29, 2017
    3. tirkarthi commented on Sep 25, 2018

      @tirkarthi
      Member

      Related issue on OpenBSD that proposes a patch catching the exception and skipping the test : https://bugs.python.org/issue25191 . I propose closing either of these as duplicate. It seems the PR 9178 was added to the issue by mistake and is not related to this issue.

      Thanks

    4. terryjreedy commented on Dec 8, 2020

      @terryjreedy
      Member

      PR-9178 was for bpo-31608. I corrected the PR and unlinked it from here.

      This is a duplicate of bpo-25191, with proposed patch. bpo-37945 is the same issue for Windows, with extensive discussion.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions