[New-bugs-announce] [issue31635] test_strptime failure on OpenBSD

Serhiy Storchaka report at bugs.python.org
Fri Sep 29 05:32:17 EDT 2017


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

$ ./python -m test -vuall test_strptime
...
======================================================================
FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Jan 1 on Sunday] (date=(1905, 1, 1), format='%G %V %w')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython3.7/Lib/test/test_strptime.py", line 508, in test_helper
    self.assertEqual(strp_output[:3], ymd_tuple, msg)
AssertionError: Tuples differ: (1905, 1, 8) != (1905, 1, 1)

First differing element 2:
8
1

- (1905, 1, 8)
?           ^

+ (1905, 1, 1)
?           ^
 : '1904 53 0': 374 != 1

======================================================================
...
FAILED (failures=16, skipped=1)

----------
components: Library (Lib)
messages: 303319
nosy: belopolsky, lemburg, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_strptime failure on OpenBSD
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31635>
_______________________________________


More information about the New-bugs-announce mailing list