Created
April 7, 2019 06:25
-
-
Save laymonage/a6beb3ec49b2633a508e40d2862ce875 to your computer and use it in GitHub Desktop.
Django test results with MariaDB 10.3.14 stable database backend.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_trunc_ambiguous_and_invalid_times (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1055, in test_trunc_ambiguous_and_invalid_times | |
model = DTModel.objects.annotate(truncated_start=TruncDay('start_datetime')).get() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 401, in get | |
num = len(clone) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 255, in __len__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_day_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 825, in test_trunc_day_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 608, in test_trunc_func | |
test_datetime_kind('year') | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 573, in test_datetime_kind | |
lambda m: (m.start_datetime, m.truncated) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_func_with_timezone (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1129, in test_trunc_func_with_timezone | |
test_datetime_kind('year') | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1094, in test_datetime_kind | |
lambda m: (m.start_datetime, m.truncated) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_hour_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 849, in test_trunc_hour_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_minute_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 881, in test_trunc_minute_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_month_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 713, in test_trunc_month_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_none (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) [Trunc(F(start_datetime))] | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 533, in subTest | |
yield | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 624, in test_trunc_none | |
self.assertIsNone(DTModel.objects.annotate(truncated=t).first().truncated) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 642, in first | |
for obj in (self if self.ordered else self.order_by('pk'))[:1]: | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_quarter_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 690, in test_trunc_quarter_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_second_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 913, in test_trunc_second_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_subquery_with_parameters (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 957, in test_trunc_subquery_with_parameters | |
{'name': 'J. R. R. Tolkien', 'newest_fan_year': datetime(2016, 1, 1, 0, 0, tzinfo=tz)}, | |
File "/usr/lib64/python3.7/unittest/case.py", line 957, in assertSequenceEqual | |
len1 = len(seq1) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 255, in __len__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 112, in __iter__ | |
for row in compiler.results_iter(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_timezone_applied_before_truncation (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1038, in test_trunc_timezone_applied_before_truncation | |
).order_by('start_datetime').get() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 401, in get | |
num = len(clone) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 255, in __len__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_week_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 745, in test_trunc_week_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_trunc_year_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 640, in test_trunc_year_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1047, in assertQuerysetEqual | |
items = map(transform, qs) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 273, in __iter__ | |
self._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 71, in __iter__ | |
for row in compiler.results_iter(results): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
ERROR: test_21432 (datetimes.tests.DateTimesTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/django/test/utils.py", line 371, in inner | |
return func(*args, **kwargs) | |
File "/home/sage/gsoc/django/django/tests/datetimes/tests.py", line 90, in test_21432 | |
self.assertEqual(qs[0], now) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 307, in __getitem__ | |
qs._fetch_all() | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 1231, in _fetch_all | |
self._result_cache = list(self._iterable_class(self)) | |
File "/home/sage/gsoc/django/django/django/db/models/query.py", line 181, in __iter__ | |
for row in compiler.results_iter(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size): | |
File "/home/sage/gsoc/django/django/django/db/models/sql/compiler.py", line 1019, in apply_converters | |
value = converter(value, expression, connection) | |
File "/home/sage/gsoc/django/django/django/db/models/functions/datetime.py", line 229, in convert_value | |
'Database returned an invalid datetime value. Are time ' | |
ValueError: Database returned an invalid datetime value. Are time zone definitions for your database installed? | |
====================================================================== | |
FAIL: test_extract_day_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 353, in test_extract_day_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 15), (datetime.datetime(2016, 6, 15, 14, [27 chars] 15)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 15) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 15), | |
? ^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 15)] | |
? ^^ | |
====================================================================== | |
FAIL: test_extract_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 171, in test_extract_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 2015), (datetime.datetime(2016, 6, 15, 14[31 chars]016)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015), | |
? ^^^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 2016)] | |
? ^^^^ | |
====================================================================== | |
FAIL: test_extract_func_explicit_timezone_priority (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1022, in test_extract_func_explicit_timezone_priority | |
self.assertEqual(model.day_melb, 16) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 832, in _baseAssertEqual | |
raise self.failureException(msg) | |
AssertionError: None != 16 | |
====================================================================== | |
FAIL: test_extract_func_with_timezone (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 986, in test_extract_func_with_timezone | |
self.assertEqual(utc_model.day, 15) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 832, in _baseAssertEqual | |
raise self.failureException(msg) | |
AssertionError: None != 15 | |
====================================================================== | |
FAIL: test_extract_hour_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 487, in test_extract_hour_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 14), (datetime.datetime(2016, 6, 15, 14, [27 chars] 14)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 14) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 14), | |
? ^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 14)] | |
? ^^ | |
====================================================================== | |
FAIL: test_extract_iso_year_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 288, in test_extract_iso_year_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 2015), (datetime.datetime(2016, 6, 15, 14[31 chars]016)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015), | |
? ^^^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 2016)] | |
? ^^^^ | |
====================================================================== | |
FAIL: test_extract_iso_year_func_boundaries (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 320, in test_extract_iso_year_func_boundaries | |
], lambda m: (m.start_datetime, m.extracted)) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[46 chars]C>), None), (datetime.datetime(2014, 12, 31, 1[84 chars]one)] != [(dat[46 chars]C>), 2014), (datetime.datetime(2014, 12, 31, 1[84 chars]015)] | |
First differing element 0: | |
(datetime.datetime(2014, 12, 27, 13, 0, tzinfo=<UTC>), None) | |
(datetime.datetime(2014, 12, 27, 13, 0, tzinfo=<UTC>), 2014) | |
Diff is 774 characters long. Set self.maxDiff to None to see it. | |
====================================================================== | |
FAIL: test_extract_minute_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 507, in test_extract_minute_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 30), (datetime.datetime(2016, 6, 15, 14, [27 chars] 10)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 30) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 30), | |
? ^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 10)] | |
? ^^ | |
====================================================================== | |
FAIL: test_extract_month_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 333, in test_extract_month_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 6), (datetime.datetime(2016, 6, 15, 14, 1[25 chars], 6)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 6) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 6), | |
? ^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 6)] | |
? ^ | |
====================================================================== | |
FAIL: test_extract_quarter_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 394, in test_extract_quarter_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 8, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 2), (datetime.datetime(2016, 8, 15, 14, 1[25 chars], 3)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2), | |
? ^ | |
- (datetime.datetime(2016, 8, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 8, 15, 14, 10, 50, 123, tzinfo=<UTC>), 3)] | |
? ^ | |
====================================================================== | |
FAIL: test_extract_quarter_func_boundaries (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 422, in test_extract_quarter_func_boundaries | |
], lambda m: (m.start_datetime, m.extracted)) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[46 chars]C>), None), (datetime.datetime(2015, 1, 1, 13,[20 chars]one)] != [(dat[46 chars]C>), 4), (datetime.datetime(2015, 1, 1, 13, 0,[14 chars], 1)] | |
First differing element 0: | |
(datetime.datetime(2014, 12, 31, 13, 0, tzinfo=<UTC>), None) | |
(datetime.datetime(2014, 12, 31, 13, 0, tzinfo=<UTC>), 4) | |
- [(datetime.datetime(2014, 12, 31, 13, 0, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2014, 12, 31, 13, 0, tzinfo=<UTC>), 4), | |
? ^ | |
- (datetime.datetime(2015, 1, 1, 13, 0, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2015, 1, 1, 13, 0, tzinfo=<UTC>), 1)] | |
? ^ | |
====================================================================== | |
FAIL: test_extract_second_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 527, in test_extract_second_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 50), (datetime.datetime(2016, 6, 15, 14, [27 chars] 50)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 50) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 50), | |
? ^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 50)] | |
? ^^ | |
====================================================================== | |
FAIL: test_extract_week_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 373, in test_extract_week_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 25), (datetime.datetime(2016, 6, 15, 14, [27 chars] 24)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 25) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 25), | |
? ^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 24)] | |
? ^^ | |
====================================================================== | |
FAIL: test_extract_week_func_boundaries (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 448, in test_extract_week_func_boundaries | |
], lambda m: (m.start_datetime, m.extracted)) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[46 chars]C>), None), (datetime.datetime(2014, 12, 31, 1[84 chars]one)] != [(dat[46 chars]C>), 52), (datetime.datetime(2014, 12, 31, 13,[77 chars] 53)] | |
First differing element 0: | |
(datetime.datetime(2014, 12, 27, 13, 0, tzinfo=<UTC>), None) | |
(datetime.datetime(2014, 12, 27, 13, 0, tzinfo=<UTC>), 52) | |
Diff is 760 characters long. Set self.maxDiff to None to see it. | |
====================================================================== | |
FAIL: test_extract_weekday_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 464, in test_extract_weekday_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 2), (datetime.datetime(2016, 6, 15, 14, 1[25 chars], 4)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2), | |
? ^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 4)] | |
? ^ | |
====================================================================== | |
FAIL: test_extract_year_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 268, in test_extract_year_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), 2015), (datetime.datetime(2016, 6, 15, 14[31 chars]016)] | |
First differing element 0: | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ^^^^ | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), 2015), | |
? ^^^^ | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ^^^^ | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), 2016)] | |
? ^^^^ | |
====================================================================== | |
FAIL: test_trunc_date_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 769, in test_trunc_date_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), datetime.date(2015, 6, 15)), (datetime.da[75 chars]15))] | |
First differing element 0: | |
(date[23 chars]15, 14, 30, 50, 321, tzinfo=<UTC>), None) | |
(date[23 chars]15, 14, 30, 50, 321, tzinfo=<UTC>), datetime.date(2015, 6, 15)) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ------- | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), | |
+ datetime.date(2015, 6, 15)), | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ------- | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), | |
+ datetime.date(2016, 6, 15))] | |
====================================================================== | |
FAIL: test_trunc_time_func (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 797, in test_trunc_time_func | |
lambda m: (m.start_datetime, m.extracted) | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 1056, in assertQuerysetEqual | |
return self.assertEqual(list(items), values, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 839, in assertEqual | |
assertion_func(first, second, msg=msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1045, in assertListEqual | |
self.assertSequenceEqual(list1, list2, msg, seq_type=list) | |
File "/usr/lib64/python3.7/unittest/case.py", line 1027, in assertSequenceEqual | |
self.fail(msg) | |
File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail | |
raise self.failureException(msg) | |
AssertionError: Lists differ: [(dat[55 chars]C>), None), (datetime.datetime(2016, 6, 15, 14[31 chars]one)] != [(dat[55 chars]C>), datetime.time(14, 30, 50, 321)), (datetim[83 chars]23))] | |
First differing element 0: | |
(date[27 chars]14, 30, 50, 321, tzinfo=<UTC>), None) | |
(date[27 chars]14, 30, 50, 321, tzinfo=<UTC>), datetime.time(14, 30, 50, 321)) | |
- [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), None), | |
? ------- | |
+ [(datetime.datetime(2015, 6, 15, 14, 30, 50, 321, tzinfo=<UTC>), | |
+ datetime.time(14, 30, 50, 321)), | |
- (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), None)] | |
? ------- | |
+ (datetime.datetime(2016, 6, 15, 14, 10, 50, 123, tzinfo=<UTC>), | |
+ datetime.time(14, 10, 50, 123))] | |
====================================================================== | |
FAIL: test_unsupported_backend (expressions_window.tests.NonQueryWindowTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/expressions_window/tests.py", line 833, in test_unsupported_backend | |
with mock.patch.object(connection.features, 'supports_over_clause', False): | |
File "/usr/lib64/python3.7/unittest/mock.py", line 1268, in __enter__ | |
original, local = self.get_original() | |
File "/usr/lib64/python3.7/unittest/mock.py", line 1233, in get_original | |
original = getattr(target, name, DEFAULT) | |
File "/home/sage/gsoc/django/django/django/utils/functional.py", line 48, in __get__ | |
res = instance.__dict__[self.name] = self.func(instance) | |
File "/home/sage/gsoc/django/django/django/db/backends/mysql/features.py", line 88, in supports_over_clause | |
if self.connection.mysql_is_mariadb: | |
File "/home/sage/gsoc/django/django/django/utils/functional.py", line 48, in __get__ | |
res = instance.__dict__[self.name] = self.func(instance) | |
File "/home/sage/gsoc/django/django/django/db/backends/mysql/base.py", line 344, in mysql_is_mariadb | |
return 'mariadb' in self.mysql_server_info.lower() | |
File "/home/sage/gsoc/django/django/django/utils/functional.py", line 48, in __get__ | |
res = instance.__dict__[self.name] = self.func(instance) | |
File "/home/sage/gsoc/django/django/django/db/backends/mysql/base.py", line 330, in mysql_server_info | |
with self.temporary_connection() as cursor: | |
File "/home/sage/gsoc/django/django/django/test/testcases.py", line 144, in __call__ | |
raise AssertionError(self.message) | |
AssertionError: Database connections to 'default' are not allowed in SimpleTestCase subclasses. Either subclass TestCase or TransactionTestCase to ensure proper test isolation or add 'default' to expressions_window.tests.NonQueryWindowTests.databases to silence this failure. | |
---------------------------------------------------------------------- | |
Ran 12784 tests in 2724.909s | |
FAILED (failures=19, errors=15, skipped=869, expected failures=4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment