New submission from Xavier de Gaye <xdeg...@gmail.com>:
test_timestamp_naive of test_datetime fails on android API 24: generic_x86_64:/data/local/tmp/python $ python -m test -v test_datetime -m test_timestamp_naive == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 == Linux-3.10.0+-x86_64-with-libc little-endian == cwd: /data/local/tmp/python/tmp/test_python_2606 == CPU count: 2 == encodings: locale=UTF-8, FS=utf-8 0:00:00 Run tests sequentially 0:00:00 [1/1] test_datetime test_timestamp_naive (test.datetimetester.TestDateTime_Pure) ... FAIL test_timestamp_naive (test.datetimetester.TestDateTimeTZ_Pure) ... FAIL test_timestamp_naive (test.datetimetester.TestSubclassDateTime_Pure) ... FAIL test_timestamp_naive (test.datetimetester.TestDateTime_Fast) ... FAIL test_timestamp_naive (test.datetimetester.TestDateTimeTZ_Fast) ... FAIL test_timestamp_naive (test.datetimetester.TestSubclassDateTime_Fast) ... FAIL ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestDateTime_Pure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_n aive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestDateTimeTZ_Pure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_n aive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestSubclassDateTime_Pure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_n aive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestDateTime_Fast) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_n aive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestDateTimeTZ_Fast) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_naive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ====================================================================== FAIL: test_timestamp_naive (test.datetimetester.TestSubclassDateTime_Fast) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/support/__init__.py", line 1833, in inner return func(*args, **kwds) File "/data/local/tmp/python/lib/python3.9/test/datetimetester.py", line 2367, in test_timestamp_naive self.assertEqual(t.timestamp(), 18000.0) AssertionError: 14400.0 != 18000.0 ---------------------------------------------------------------------- Ran 6 tests in 0.026s FAILED (failures=6) test test_datetime failed test_datetime failed == Tests result: FAILURE == 1 test failed: test_datetime Total duration: 331 ms Tests result: FAILURE ---------- components: Tests messages: 356975 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open title: test_timestamp_naive fails on android type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38849> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com