Code

Ticket #8102: nopatch_failures.txt

File nopatch_failures.txt, 8.0 KB (added by kmtracey, 6 years ago)

For reference, test failures without the patch

Line 
1kmt@lbox:~/django/trunk/tests$ python runtests.py --settings=testsettings
2/home/kmt/django/trunk/tests/regressiontests/templates/loaders.py:14: UserWarning: Module _mysql was already imported from /var/lib/python-support/python2.5/_mysql.so, but /var/lib/python-support/python2.5 is being added to sys.path
3  import pkg_resources
4/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xE6\x9E\x97\xE5\x8E\x9F...' for column 'headline' at row 1
5  cursor.execute(sql, params)
6/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBA\xC5\x84' for column 'code' at row 1
7  cursor.execute(sql, params)
8/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBC\xC3\xB3\xC5\x82...' for column 'name' at row 1
9  cursor.execute(sql, params)
10/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC5\xBC\xC3\xB3\xC5\x82...' for column 'actor_id' at row 1
11  cursor.execute(sql, params)
12/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xC4\x99\xC5\x9Bl\xC4...' for column 'title' at row 1
13  cursor.execute(sql, params)
14/home/kmt/django/trunk/django/db/models/sql/query.py:1615: Warning: Incorrect string value: '\xE6\x88\x91\xE9\x9A\xBB...' for column 'file' at row 1
15  cursor.execute(sql, params)
16======================================================================
17FAIL: Doctest: modeltests.basic.models.__test__.API_TESTS
18----------------------------------------------------------------------
19Traceback (most recent call last):
20  File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
21    raise self.failureException(self.format_failure(new.getvalue()))
22AssertionError: Failed doctest test for modeltests.basic.models.__test__.API_TESTS
23  File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line unknown line number, in API_TESTS
24
25----------------------------------------------------------------------
26File "/home/kmt/django/trunk/tests/modeltests/basic/models.py", line ?, in modeltests.basic.models.__test__.API_TESTS
27Failed example:
28    Article.objects.get(pk=a.id).headline
29Expected:
30    u'\u6797\u539f \u3081\u3050\u307f'
31Got:
32    u'?? ???'
33
34
35======================================================================
36FAIL: Doctest: regressiontests.string_lookup.models.__test__.API_TESTS
37----------------------------------------------------------------------
38Traceback (most recent call last):
39  File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
40    raise self.failureException(self.format_failure(new.getvalue()))
41AssertionError: Failed doctest test for regressiontests.string_lookup.models.__test__.API_TESTS
42  File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line unknown line number, in API_TESTS
43
44----------------------------------------------------------------------
45File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line ?, in regressiontests.string_lookup.models.__test__.API_TESTS
46Failed example:
47    Foo.objects.get(friend__contains=u'\xe7')
48Exception raised:
49    Traceback (most recent call last):
50      File "/home/kmt/django/trunk/django/test/_doctest.py", line 1267, in __run
51        compileflags, 1) in test.globs
52      File "<doctest regressiontests.string_lookup.models.__test__.API_TESTS[18]>", line 1, in <module>
53        Foo.objects.get(friend__contains=u'\xe7')
54      File "/home/kmt/django/trunk/django/db/models/manager.py", line 82, in get
55        return self.get_query_set().get(*args, **kwargs)
56      File "/home/kmt/django/trunk/django/db/models/query.py", line 301, in get
57        % self.model._meta.object_name)
58    DoesNotExist: Foo matching query does not exist.
59----------------------------------------------------------------------
60File "/home/kmt/django/trunk/tests/regressiontests/string_lookup/models.py", line ?, in regressiontests.string_lookup.models.__test__.API_TESTS
61Failed example:
62    Foo.objects.get(friend__contains='\xc3\xa7')
63Exception raised:
64    Traceback (most recent call last):
65      File "/home/kmt/django/trunk/django/test/_doctest.py", line 1267, in __run
66        compileflags, 1) in test.globs
67      File "<doctest regressiontests.string_lookup.models.__test__.API_TESTS[19]>", line 1, in <module>
68        Foo.objects.get(friend__contains='\xc3\xa7')
69      File "/home/kmt/django/trunk/django/db/models/manager.py", line 82, in get
70        return self.get_query_set().get(*args, **kwargs)
71      File "/home/kmt/django/trunk/django/db/models/query.py", line 301, in get
72        % self.model._meta.object_name)
73    DoesNotExist: Foo matching query does not exist.
74
75
76======================================================================
77FAIL: Doctest: regressiontests.model_inheritance_regress.models.__test__.API_TESTS
78----------------------------------------------------------------------
79Traceback (most recent call last):
80  File "/home/kmt/django/trunk/django/test/_doctest.py", line 2180, in runTest
81    raise self.failureException(self.format_failure(new.getvalue()))
82AssertionError: Failed doctest test for regressiontests.model_inheritance_regress.models.__test__.API_TESTS
83  File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line unknown line number, in API_TESTS
84
85----------------------------------------------------------------------
86File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
87Failed example:
88    [sorted(d.items()) for d in dicts]
89Expected:
90    [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', True)]]
91Got:
92    [[('name', u"Guido's House of Pasta"), ('serves_hot_dogs', 1)]]
93----------------------------------------------------------------------
94File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
95Failed example:
96    [sorted(d.items()) for d in dicts]
97Expected:
98    [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', True), ('serves_hot_dogs', True)]]
99Got:
100    [[('name', u"Guido's House of Pasta"), ('serves_gnocchi', 1), ('serves_hot_dogs', 1)]]
101----------------------------------------------------------------------
102File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
103Failed example:
104    [sorted(d.items()) for d in dicts]
105Expected:
106    [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', False)]]
107Got:
108    [[('name', u"Guido's All New House of Pasta"), ('serves_hot_dogs', 0)]]
109----------------------------------------------------------------------
110File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
111Failed example:
112    [sorted(d.items()) for d in dicts]
113Expected:
114    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
115Got:
116    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
117----------------------------------------------------------------------
118File "/home/kmt/django/trunk/tests/regressiontests/model_inheritance_regress/models.py", line ?, in regressiontests.model_inheritance_regress.models.__test__.API_TESTS
119Failed example:
120    [sorted(d.items()) for d in dicts]
121Expected:
122    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', False), ('serves_hot_dogs', False)]]
123Got:
124    [[('name', u"Guido's All New House of Pasta"), ('serves_gnocchi', 0), ('serves_hot_dogs', 0)]]
125
126
127----------------------------------------------------------------------
128Ran 417 tests in 1698.765s
129
130FAILED (failures=3)
131kmt@lbox:~/django/trunk/tests$ cd ..
132kmt@lbox:~/django/trunk$ svn status -u
133?                   8102-2.diff
134?                   8102.diff
135?                   tests/testsettings.py
136?                   tests/patch_failures.txt
137Status against revision:   8207
138kmt@lbox:~/django/trunk$
139