mhsmith · GitHub

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

Read the original on github.com ↗