Skip to content

[3.12] Tests fail due to "module test.support has no attribute is_apple" #125301

Closed

Description

@sobolevn

Bug report

See https://github.com/python/cpython/actions/runs/11287601843/job/31393811666

 ======================================================================
ERROR: test_alt_digits_nl_langinfo (test.test__locale._LocaleTests.test_alt_digits_nl_langinfo) (locale='ja_JP')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/admin/actions-runner/_work/cpython/cpython/Lib/test/test__locale.py", line 210, in test_alt_digits_nl_langinfo
    if count and not alt_digits and support.is_apple:
                                    ^^^^^^^^^^^^^^^^
AttributeError: module 'test.support' has no attribute 'is_apple'

----------------------------------------------------------------------

Looks like 171ebcd is the cause.

CC @serhiy-storchaka

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    testsTests in the Lib/test dir
    3.12only security fixes
    on Oct 11, 2024
  2. added a commit that references this issue on Oct 11, 2024
  3. serhiy-storchaka commented on Oct 11, 2024

    @serhiy-storchaka
    Member

    Oh, I explicitly tested that it exists in 3.13, but not 3.12. And the CI did not catch this.

  4. added a commit that references this issue on Oct 11, 2024
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.12only security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions