#7867 closed (duplicate)
regressiontests.model_inheritance_regress fails on MySQL
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Metasystem | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Getting this test failure on the official buildbot as well as the new build slaves.
======================================================================
FAIL: Doctest: regressiontests.model_inheritance_regress.models.__test__.API_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/django/test/_doctest.py", line 2180, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for regressiontests.model_inheritance_regress.models.__test__.API_TESTS
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line unknown line number, in API_TESTS
----------------------------------------------------------------------
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
Failed example:
[sorted(d.items()) for d in dicts]
Expected:
[[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', True)]]
Got:
[[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', 1)]]
----------------------------------------------------------------------
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
Failed example:
[sorted(d.items()) for d in dicts]
Expected:
[[('name', u"Guido's House of Pasta"), ('serves_gnocchi', True), ('serves_hot_dogs', True)]]
Got:
[[('name', u"Guido's House of Pasta"), ('serves_gnocchi', 1), ('serves_hot_dogs', 1)]]
----------------------------------------------------------------------
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
Failed example:
[sorted(d.items()) for d in dicts]
Expected:
[[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', False)]]
Got:
[[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', 0)]]
----------------------------------------------------------------------
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
Failed example:
[sorted(d.items()) for d in dicts]
Expected:
[[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
Got:
[[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
----------------------------------------------------------------------
File "/home/mcroydon/buildbot/djangoproject/trunk-2.4-mysql/build/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
Failed example:
[sorted(d.items()) for d in dicts]
Expected:
[[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
Got:
[[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
Note:
See TracTickets
for help on using tickets.
Duplicate of #7190.