== CPython 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 10:42:45) [GCC 4.9 20140827 (prerelease)] == Linux-3.4.67+-i686-with-libc little-endian == hash algorithm: fnv 32bit == /data/local/tmp/test_python_2233 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0) Run tests sequentially 0:00:00 [1/1] test_strptime test_TimeRE_recreation_locale (test.test_strptime.CacheTests) ... skipped 'test needs de_DE.UTF8 locale' test_TimeRE_recreation_timezone (test.test_strptime.CacheTests) ... skipped 'tzset required' test_new_localetime (test.test_strptime.CacheTests) ... ok test_regex_cleanup (test.test_strptime.CacheTests) ... ok test_time_re_recreation (test.test_strptime.CacheTests) ... ok test_day_of_week_calculation (test.test_strptime.CalculationTests) ... ok test_gregorian_calculation (test.test_strptime.CalculationTests) ... ok test_julian_calculation (test.test_strptime.CalculationTests) ... ok test_week_0 (test.test_strptime.CalculationTests) ... ok test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) ... test_all_julian_days (test.test_strptime.JulianTests) ... ok test_am_pm (test.test_strptime.LocaleTime_Tests) ... ok test_date_time (test.test_strptime.LocaleTime_Tests) ... ok test_lang (test.test_strptime.LocaleTime_Tests) ... ok test_month (test.test_strptime.LocaleTime_Tests) ... ok test_timezone (test.test_strptime.LocaleTime_Tests) ... ok test_weekday (test.test_strptime.LocaleTime_Tests) ... ok test_twelve_noon_midnight (test.test_strptime.Strptime12AMPMTests) ... ok test_ValueError (test.test_strptime.StrptimeTests) ... ok test_bad_timezone (test.test_strptime.StrptimeTests) ... ok test_caseinsensitive (test.test_strptime.StrptimeTests) ... ok test_date (test.test_strptime.StrptimeTests) ... ok test_date_time (test.test_strptime.StrptimeTests) ... ok test_day (test.test_strptime.StrptimeTests) ... ok test_defaults (test.test_strptime.StrptimeTests) ... ok test_escaping (test.test_strptime.StrptimeTests) ... ok test_feb29_on_leap_year_without_year (test.test_strptime.StrptimeTests) ... ok test_fraction (test.test_strptime.StrptimeTests) ... ok test_hour (test.test_strptime.StrptimeTests) ... ok test_julian (test.test_strptime.StrptimeTests) ... ok test_mar1_comes_after_feb29_even_when_omitting_the_year (test.test_strptime.StrptimeTests) ... ok test_minute (test.test_strptime.StrptimeTests) ... ok test_month (test.test_strptime.StrptimeTests) ... ok test_percent (test.test_strptime.StrptimeTests) ... ok test_second (test.test_strptime.StrptimeTests) ... ok test_strptime_exception_context (test.test_strptime.StrptimeTests) ... ok test_time (test.test_strptime.StrptimeTests) ... ok test_timezone (test.test_strptime.StrptimeTests) ... ok test_unconverteddata (test.test_strptime.StrptimeTests) ... ok test_weekday (test.test_strptime.StrptimeTests) ... ok test_year (test.test_strptime.StrptimeTests) ... ok test_blankpattern (test.test_strptime.TimeRETests) ... ok test_compile (test.test_strptime.TimeRETests) ... ok test_locale_data_w_regex_metacharacters (test.test_strptime.TimeRETests) ... ok test_matching_with_escapes (test.test_strptime.TimeRETests) ... ok test_pattern (test.test_strptime.TimeRETests) ... ok test_pattern_escaping (test.test_strptime.TimeRETests) ... ok test_whitespace_substitution (test.test_strptime.TimeRETests) ... ok test_basic (test.test_strptime.getlang_Tests) ... ok ====================================================================== 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 "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, 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 ====================================================================== 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 %u') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, 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 7': 374 != 1 ====================================================================== 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 %a') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, 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 Sun': 374 != 1 ====================================================================== 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 %A') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, 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 Sunday': 374 != 1 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday] (date=(1906, 12, 31), format='%G %V %w') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1907, 12, 30) != (1906, 12, 31) First differing element 0: 1907 1906 - (1907, 12, 30) ? ^ ^ + (1906, 12, 31) ? ^ ^ : '1907 53 1': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday] (date=(1906, 12, 31), format='%G %V %u') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1907, 12, 30) != (1906, 12, 31) First differing element 0: 1907 1906 - (1907, 12, 30) ? ^ ^ + (1906, 12, 31) ? ^ ^ : '1907 53 1': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday] (date=(1906, 12, 31), format='%G %V %a') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1907, 12, 30) != (1906, 12, 31) First differing element 0: 1907 1906 - (1907, 12, 30) ? ^ ^ + (1906, 12, 31) ? ^ ^ : '1907 53 Mon': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday] (date=(1906, 12, 31), format='%G %V %A') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1907, 12, 30) != (1906, 12, 31) First differing element 0: 1907 1906 - (1907, 12, 30) ? ^ ^ + (1906, 12, 31) ? ^ ^ : '1907 53 Monday': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Monday in the last week of the year] (date=(2008, 12, 29), format='%G %V %w') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (2009, 12, 28) != (2008, 12, 29) First differing element 0: 2009 2008 - (2009, 12, 28) ? ^ ^ + (2008, 12, 29) ? ^ ^ : '2009 53 1': 362 != 364 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Monday in the last week of the year] (date=(2008, 12, 29), format='%G %V %u') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (2009, 12, 28) != (2008, 12, 29) First differing element 0: 2009 2008 - (2009, 12, 28) ? ^ ^ + (2008, 12, 29) ? ^ ^ : '2009 53 1': 362 != 364 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Monday in the last week of the year] (date=(2008, 12, 29), format='%G %V %a') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (2009, 12, 28) != (2008, 12, 29) First differing element 0: 2009 2008 - (2009, 12, 28) ? ^ ^ + (2008, 12, 29) ? ^ ^ : '2009 53 Mon': 362 != 364 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Monday in the last week of the year] (date=(2008, 12, 29), format='%G %V %A') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (2009, 12, 28) != (2008, 12, 29) First differing element 0: 2009 2008 - (2009, 12, 28) ? ^ ^ + (2008, 12, 29) ? ^ ^ : '2009 53 Monday': 362 != 364 ======================================================================test test_strptime failed FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday with year starting and ending on Monday] (date=(1917, 12, 31), format='%G %V %w') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1918, 12, 30) != (1917, 12, 31) First differing element 0: 1918 1917 - (1918, 12, 30) ? ^ ^ + (1917, 12, 31) ? ^ ^ : '1918 53 1': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday with year starting and ending on Monday] (date=(1917, 12, 31), format='%G %V %u') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1918, 12, 30) != (1917, 12, 31) First differing element 0: 1918 1917 - (1918, 12, 30) ? ^ ^ + (1917, 12, 31) ? ^ ^ : '1918 53 1': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday with year starting and ending on Monday] (date=(1917, 12, 31), format='%G %V %a') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1918, 12, 30) != (1917, 12, 31) First differing element 0: 1918 1917 - (1918, 12, 30) ? ^ ^ + (1917, 12, 31) ? ^ ^ : '1918 53 Mon': 364 != 365 ====================================================================== FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Dec 31 on Monday with year starting and ending on Monday] (date=(1917, 12, 31), format='%G %V %A') ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_strptime.py", line 492, in test_helper self.assertEqual(strp_output[:3], ymd_tuple, msg) AssertionError: Tuples differ: (1918, 12, 30) != (1917, 12, 31) First differing element 0: 1918 1917 - (1918, 12, 30) ? ^ ^ + (1917, 12, 31) ? ^ ^ : '1918 53 Monday': 364 != 365 ---------------------------------------------------------------------- Ran 49 tests in 0.090s FAILED (failures=16, skipped=2) 1 test failed: test_strptime Total duration: 0:00:01