Skip to content

test_time.TestStrftime4dyear.test_negative fails on Android Pixel 7 #123017

Description

@mhsmith

Bug report

Bug description:

This happens on the Pixel 7, but not on an emulator with the same API level (34). It may be caused by a bug in the underlying libc.

0:00:00 [1/1] test_time
test test_time failed -- Traceback (most recent call last):
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_time.py", line 673, in test_negative
    return super().test_negative()
           ~~~~~~~~~~~~~~~~~~~~~^^
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_time.py", line 699, in test_negative
    self.assertEqual(self.yearstr(-1234), '-1234')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '0$34' != '-1234'
- 0$34
+ -1234


test_time failed (1 failure)

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Activity

  1. added a commit that references this issue on Sep 27, 2024
  2. added a commit that references this issue on Sep 27, 2024
  3. added a commit that references this issue on Sep 27, 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

    OS-androidtestsTests 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