-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-16816.gpt-4-0125-preview.eval.log
274 lines (258 loc) · 21.4 KB
/
django__django-16816.gpt-4-0125-preview.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
[django__django__5.0] [django__django-16816] Task Metadata:
- Instance ID: django__django-16816
- Testbed: django__django__5.0
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.11.9
[django__django__5.0] [django__django-16816] Command: git -c advice.detachedHead=false checkout 191f6a9a4586b5e5f79f4f42f190e7ad4bbacc84
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16816] Std. Output:
Previous HEAD position was 4a72da7100 Refs #27471 -- Made admin's filter choice arrows use cursor pointers.
HEAD is now at 191f6a9a45 Fixed #34528 -- Reduced Add/RemoveIndex operations when optimizing migrations.
[django__django__5.0] [django__django-16816] Return Code: 0
[django__django__5.0] [django__django-16816] Command: git apply -v /opt/temp_django__django-16816_pred_try.patch
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16816] Std. Output:
Checking patch tests/admin_views/admin.py...
Applied patch tests/admin_views/admin.py cleanly.
[django__django__5.0] [django__django-16816] Return Code: 0
[django__django__5.0] [django__django-16816] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__5.0] [django__django-16816] Command: git apply -v -R /opt/temp_django__django-16816_pred_try.patch
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16816] Std. Output:
Checking patch tests/admin_views/admin.py...
Applied patch tests/admin_views/admin.py cleanly.
[django__django__5.0] [django__django-16816] Return Code: 0
[django__django__5.0] [django__django-16816] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__5.0] [django__django-16816] Command: git apply -v /opt/temp_django__django-16816_pred.patch
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16816] Std. Output:
Checking patch tests/admin_views/admin.py...
Applied patch tests/admin_views/admin.py cleanly.
[django__django__5.0] [django__django-16816] Return Code: 0
[django__django__5.0] [django__django-16816] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__5.0] [django__django-16816] Command: git apply -v /opt/temp_django__django-16816_test.patch
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16816] Std. Output:
Checking patch tests/modeladmin/test_checks.py...
Applied patch tests/modeladmin/test_checks.py cleanly.
[django__django__5.0] [django__django-16816] Return Code: 0
[django__django__5.0] [django__django-16816] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 modeladmin.test_checks;
[django__django__5.0] [django__django-16816] Command: ./tests/runtests.py --verbosity 2 modeladmin.test_checks
[django__django__5.0] [django__django-16816] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__5.0] [django__django-16816] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application modeladmin
Found 125 test(s).
Skipping setup of unused database(s): default, other.
System check identified no issues (0 silenced).
test_not_integer (modeladmin.test_checks.ExtraCheckTests.test_not_integer) ... ok
test_valid_case (modeladmin.test_checks.ExtraCheckTests.test_valid_case) ... ok
test_actions_not_unique (modeladmin.test_checks.ActionsCheckTests.test_actions_not_unique) ... ok
test_actions_unique (modeladmin.test_checks.ActionsCheckTests.test_actions_unique) ... ok
test_custom_permissions_require_matching_has_method (modeladmin.test_checks.ActionsCheckTests.test_custom_permissions_require_matching_has_method) ... ok
test_invalid_field_type (modeladmin.test_checks.DateHierarchyCheckTests.test_invalid_field_type) ... ok
test_missing_field (modeladmin.test_checks.DateHierarchyCheckTests.test_missing_field) ... ok
test_related_invalid_field_type (modeladmin.test_checks.DateHierarchyCheckTests.test_related_invalid_field_type) ... ok
test_related_valid_case (modeladmin.test_checks.DateHierarchyCheckTests.test_related_valid_case) ... ok
test_valid_case (modeladmin.test_checks.DateHierarchyCheckTests.test_valid_case) ... ok
test_invalid_field_type (modeladmin.test_checks.FilterHorizontalCheckTests.test_invalid_field_type) ... ok
test_missing_field (modeladmin.test_checks.FilterHorizontalCheckTests.test_missing_field) ... ok
test_not_iterable (modeladmin.test_checks.FilterHorizontalCheckTests.test_not_iterable) ... ok
test_valid_case (modeladmin.test_checks.FilterHorizontalCheckTests.test_valid_case) ... ok
test_inline_without_formset_class (modeladmin.test_checks.FormsetCheckTests.test_inline_without_formset_class) ... ok
test_invalid_type (modeladmin.test_checks.FormsetCheckTests.test_invalid_type) ... ok
test_valid_case (modeladmin.test_checks.FormsetCheckTests.test_valid_case) ... ok
test_not_integer (modeladmin.test_checks.ListMaxShowAllCheckTests.test_not_integer) ... ok
test_valid_case (modeladmin.test_checks.ListMaxShowAllCheckTests.test_valid_case) ... ok
test_duplicate_fields_in_fields (modeladmin.test_checks.FieldsCheckTests.test_duplicate_fields_in_fields) ... ok
test_inline (modeladmin.test_checks.FieldsCheckTests.test_inline) ... ok
test_autocomplete_e036 (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_e036) ... ok
test_autocomplete_e037 (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_e037) ... ok
test_autocomplete_e039 (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_e039) ... ok
test_autocomplete_e040 (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_e040) ... ok
test_autocomplete_e38 (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_e38) ... ok
test_autocomplete_is_onetoone (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_is_onetoone) ... ok
test_autocomplete_is_valid (modeladmin.test_checks.AutocompleteFieldsTests.test_autocomplete_is_valid) ... ok
test_invalid_callable (modeladmin.test_checks.InlinesCheckTests.test_invalid_callable) ... ok
test_invalid_model (modeladmin.test_checks.InlinesCheckTests.test_invalid_model) ... ok
test_invalid_model_type (modeladmin.test_checks.InlinesCheckTests.test_invalid_model_type) ... ok
test_missing_model_field (modeladmin.test_checks.InlinesCheckTests.test_missing_model_field) ... ok
test_not_correct_inline_field (modeladmin.test_checks.InlinesCheckTests.test_not_correct_inline_field) ... ok
test_not_iterable (modeladmin.test_checks.InlinesCheckTests.test_not_iterable) ... ok
test_not_model_admin (modeladmin.test_checks.InlinesCheckTests.test_not_model_admin) ... ok
test_valid_case (modeladmin.test_checks.InlinesCheckTests.test_valid_case) ... ok
test_invalid_type (modeladmin.test_checks.ListSelectRelatedCheckTests.test_invalid_type) ... ok
test_valid_case (modeladmin.test_checks.ListSelectRelatedCheckTests.test_valid_case) ... ok
test_not_integer (modeladmin.test_checks.ListPerPageCheckTests.test_not_integer) ... ok
test_valid_case (modeladmin.test_checks.ListPerPageCheckTests.test_valid_case) ... ok
test_not_integer (modeladmin.test_checks.MinNumCheckTests.test_not_integer) ... ok
test_valid_case (modeladmin.test_checks.MinNumCheckTests.test_valid_case) ... ok
test_both_list_editable_and_list_display_links (modeladmin.test_checks.ListDisplayEditableTests.test_both_list_editable_and_list_display_links) ... ok
test_list_display_first_item_in_list_editable (modeladmin.test_checks.ListDisplayEditableTests.test_list_display_first_item_in_list_editable)
The first item in list_display can be in list_editable as long as ... ok
test_list_display_first_item_in_list_editable_no_list_display_links (modeladmin.test_checks.ListDisplayEditableTests.test_list_display_first_item_in_list_editable_no_list_display_links)
The first item in list_display cannot be in list_editable if ... ok
test_list_display_first_item_same_as_list_editable_first_item (modeladmin.test_checks.ListDisplayEditableTests.test_list_display_first_item_same_as_list_editable_first_item)
The first item in list_display can be the same as the first in ... ok
test_list_display_first_item_same_as_list_editable_no_list_display_links (modeladmin.test_checks.ListDisplayEditableTests.test_list_display_first_item_same_as_list_editable_no_list_display_links)
The first item in list_display cannot be the same as the first item ... ok
test_list_display_links_is_none (modeladmin.test_checks.ListDisplayEditableTests.test_list_display_links_is_none)
list_display and list_editable can contain the same values ... ok
test_invalid_field_type (modeladmin.test_checks.ListDisplayTests.test_invalid_field_type) ... ok
test_invalid_m2m_related_name (modeladmin.test_checks.ListDisplayTests.test_invalid_m2m_related_name) ... FAIL
test_invalid_related_field (modeladmin.test_checks.ListDisplayTests.test_invalid_related_field) ... FAIL
test_invalid_reverse_related_field (modeladmin.test_checks.ListDisplayTests.test_invalid_reverse_related_field) ... ok
test_missing_field (modeladmin.test_checks.ListDisplayTests.test_missing_field) ... ok
test_not_iterable (modeladmin.test_checks.ListDisplayTests.test_not_iterable) ... ok
test_valid_case (modeladmin.test_checks.ListDisplayTests.test_valid_case) ... ok
test_valid_field_accessible_via_instance (modeladmin.test_checks.ListDisplayTests.test_valid_field_accessible_via_instance) ... ok
test_not_integer (modeladmin.test_checks.MaxNumCheckTests.test_not_integer) ... ok
test_valid_case (modeladmin.test_checks.MaxNumCheckTests.test_valid_case) ... ok
test_not_boolean (modeladmin.test_checks.SaveAsCheckTests.test_not_boolean) ... ok
test_valid_case (modeladmin.test_checks.SaveAsCheckTests.test_valid_case) ... ok
test_invalid_field_type (modeladmin.test_checks.RadioFieldsCheckTests.test_invalid_field_type) ... ok
test_invalid_value (modeladmin.test_checks.RadioFieldsCheckTests.test_invalid_value) ... ok
test_missing_field (modeladmin.test_checks.RadioFieldsCheckTests.test_missing_field) ... ok
test_not_dictionary (modeladmin.test_checks.RadioFieldsCheckTests.test_not_dictionary) ... ok
test_valid_case (modeladmin.test_checks.RadioFieldsCheckTests.test_valid_case) ... ok
test_invalid_field_type (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_invalid_field_type) ... ok
test_missing_field (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_missing_field) ... ok
test_missing_field_again (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_missing_field_again) ... ok
test_not_dictionary (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_not_dictionary) ... ok
test_not_list_or_tuple (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_not_list_or_tuple) ... ok
test_one_to_one_field (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_one_to_one_field) ... ok
test_valid_case (modeladmin.test_checks.PrepopulatedFieldsCheckTests.test_valid_case) ... ok
test_not_boolean (modeladmin.test_checks.SaveOnTopCheckTests.test_not_boolean) ... ok
test_valid_case (modeladmin.test_checks.SaveOnTopCheckTests.test_valid_case) ... ok
test_field_attname (modeladmin.test_checks.RawIdCheckTests.test_field_attname) ... ok
test_invalid_field_type (modeladmin.test_checks.RawIdCheckTests.test_invalid_field_type) ... ok
test_missing_field (modeladmin.test_checks.RawIdCheckTests.test_missing_field) ... ok
test_not_iterable (modeladmin.test_checks.RawIdCheckTests.test_not_iterable) ... ok
test_valid_case (modeladmin.test_checks.RawIdCheckTests.test_valid_case) ... ok
test_None_is_valid_case (modeladmin.test_checks.ListDisplayLinksCheckTests.test_None_is_valid_case) ... ok
test_list_display_link_checked_for_list_tuple_if_get_list_display_overridden (modeladmin.test_checks.ListDisplayLinksCheckTests.test_list_display_link_checked_for_list_tuple_if_get_list_display_overridden)
list_display_links is checked for list/tuple/None even if ... ok
test_list_display_links_check_skipped_if_get_list_display_overridden (modeladmin.test_checks.ListDisplayLinksCheckTests.test_list_display_links_check_skipped_if_get_list_display_overridden)
list_display_links check is skipped if get_list_display() is overridden. ... ok
test_missing_field (modeladmin.test_checks.ListDisplayLinksCheckTests.test_missing_field) ... ok
test_missing_in_list_display (modeladmin.test_checks.ListDisplayLinksCheckTests.test_missing_in_list_display) ... ok
test_not_iterable (modeladmin.test_checks.ListDisplayLinksCheckTests.test_not_iterable) ... ok
test_valid_case (modeladmin.test_checks.ListDisplayLinksCheckTests.test_valid_case) ... ok
test_not_iterable (modeladmin.test_checks.SearchFieldsCheckTests.test_not_iterable) ... ok
test_duplicate_fields (modeladmin.test_checks.FieldsetsCheckTests.test_duplicate_fields) ... ok
test_duplicate_fields_in_fieldsets (modeladmin.test_checks.FieldsetsCheckTests.test_duplicate_fields_in_fieldsets) ... ok
test_fieldsets_with_custom_form_validation (modeladmin.test_checks.FieldsetsCheckTests.test_fieldsets_with_custom_form_validation) ... ok
test_item_not_a_pair (modeladmin.test_checks.FieldsetsCheckTests.test_item_not_a_pair) ... ok
test_missing_fields_key (modeladmin.test_checks.FieldsetsCheckTests.test_missing_fields_key) ... ok
test_non_iterable_item (modeladmin.test_checks.FieldsetsCheckTests.test_non_iterable_item) ... ok
test_not_iterable (modeladmin.test_checks.FieldsetsCheckTests.test_not_iterable) ... ok
test_second_element_of_item_not_a_dict (modeladmin.test_checks.FieldsetsCheckTests.test_second_element_of_item_not_a_dict) ... ok
test_specified_both_fields_and_fieldsets (modeladmin.test_checks.FieldsetsCheckTests.test_specified_both_fields_and_fieldsets) ... ok
test_valid_case (modeladmin.test_checks.FieldsetsCheckTests.test_valid_case) ... ok
test_fieldsets_with_custom_form_validation (modeladmin.test_checks.FormCheckTests.test_fieldsets_with_custom_form_validation) ... ok
test_invalid_type (modeladmin.test_checks.FormCheckTests.test_invalid_type) ... ok
test_valid_case (modeladmin.test_checks.FormCheckTests.test_valid_case) ... ok
test_invalid_field_type (modeladmin.test_checks.FilterVerticalCheckTests.test_invalid_field_type) ... ok
test_missing_field (modeladmin.test_checks.FilterVerticalCheckTests.test_missing_field) ... ok
test_not_iterable (modeladmin.test_checks.FilterVerticalCheckTests.test_not_iterable) ... ok
test_valid_case (modeladmin.test_checks.FilterVerticalCheckTests.test_valid_case) ... ok
test_invalid_expression (modeladmin.test_checks.OrderingCheckTests.test_invalid_expression) ... ok
test_not_iterable (modeladmin.test_checks.OrderingCheckTests.test_not_iterable) ... ok
test_random_marker_not_alone (modeladmin.test_checks.OrderingCheckTests.test_random_marker_not_alone) ... ok
test_valid_case (modeladmin.test_checks.OrderingCheckTests.test_valid_case) ... ok
test_valid_complex_case (modeladmin.test_checks.OrderingCheckTests.test_valid_complex_case) ... ok
test_valid_expression (modeladmin.test_checks.OrderingCheckTests.test_valid_expression) ... ok
test_valid_random_marker_case (modeladmin.test_checks.OrderingCheckTests.test_valid_random_marker_case) ... ok
test_callable (modeladmin.test_checks.ListFilterTests.test_callable) ... ok
test_list_filter_is_func (modeladmin.test_checks.ListFilterTests.test_list_filter_is_func) ... ok
test_list_filter_validation (modeladmin.test_checks.ListFilterTests.test_list_filter_validation) ... ok
test_missing_field (modeladmin.test_checks.ListFilterTests.test_missing_field) ... ok
test_not_associated_with_field_name (modeladmin.test_checks.ListFilterTests.test_not_associated_with_field_name) ... ok
test_not_callable (modeladmin.test_checks.ListFilterTests.test_not_callable) ... ok
test_not_filter (modeladmin.test_checks.ListFilterTests.test_not_filter) ... ok
test_not_filter_again (modeladmin.test_checks.ListFilterTests.test_not_filter_again) ... ok
test_not_filter_again_again (modeladmin.test_checks.ListFilterTests.test_not_filter_again_again) ... ok
test_not_list_filter_class (modeladmin.test_checks.ListFilterTests.test_not_list_filter_class) ... ok
test_valid_case (modeladmin.test_checks.ListFilterTests.test_valid_case) ... ok
test_missing_field (modeladmin.test_checks.FkNameCheckTests.test_missing_field) ... ok
test_proxy_model_parent (modeladmin.test_checks.FkNameCheckTests.test_proxy_model_parent) ... ok
test_valid_case (modeladmin.test_checks.FkNameCheckTests.test_valid_case) ... ok
======================================================================
FAIL: test_invalid_m2m_related_name (modeladmin.test_checks.ListDisplayTests.test_invalid_m2m_related_name)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^^^^^^^^^^
File "/opt/django__django/tests/modeladmin/test_checks.py", line 573, in test_invalid_m2m_related_name
self.assertIsInvalid(
^^^^^^^^^^^^^^^^^
File "/opt/django__django/tests/modeladmin/test_checks.py", line 30, in assertIsInvalid
self.assertEqual(
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 1079, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 1061, in assertSequenceEqual
self.fail(msg)
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: [] != [<Error: level=40, msg="The value of 'list[206 chars]09'>]
Second list contains 1 additional elements.
First extra element 0:
<Error: level=40, msg="The value of 'list_display[0]' must not be a many-to-many field or a reverse foreign key.", hint=None, obj=<class 'modeladmin.test_checks.ListDisplayTests.test_invalid_m2m_related_name.<locals>.TestModelAdmin'>, id='admin.E109'>
- []
+ [<Error: level=40, msg="The value of 'list_display[0]' must not be a many-to-many field or a reverse foreign key.", hint=None, obj=<class 'modeladmin.test_checks.ListDisplayTests.test_invalid_m2m_related_name.<locals>.TestModelAdmin'>, id='admin.E109'>]
======================================================================
FAIL: test_invalid_related_field (modeladmin.test_checks.ListDisplayTests.test_invalid_related_field)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^^^^^^^^^^
File "/opt/django__django/tests/modeladmin/test_checks.py", line 561, in test_invalid_related_field
self.assertIsInvalid(
^^^^^^^^^^^^^^^^^
File "/opt/django__django/tests/modeladmin/test_checks.py", line 30, in assertIsInvalid
self.assertEqual(
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 1079, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 1061, in assertSequenceEqual
self.fail(msg)
File "/opt/pyenv/versions/3.11.9/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: [] != [<Error: level=40, msg="The value of 'list[203 chars]09'>]
Second list contains 1 additional elements.
First extra element 0:
<Error: level=40, msg="The value of 'list_display[0]' must not be a many-to-many field or a reverse foreign key.", hint=None, obj=<class 'modeladmin.test_checks.ListDisplayTests.test_invalid_related_field.<locals>.TestModelAdmin'>, id='admin.E109'>
- []
+ [<Error: level=40, msg="The value of 'list_display[0]' must not be a many-to-many field or a reverse foreign key.", hint=None, obj=<class 'modeladmin.test_checks.ListDisplayTests.test_invalid_related_field.<locals>.TestModelAdmin'>, id='admin.E109'>]
----------------------------------------------------------------------
Ran 125 tests in 0.131s
FAILED (failures=2)
[django__django__5.0] [django__django-16816] Return Code: 1
>>>>> Some Tests Failed
[django__django__5.0] [django__django-16816] Test script run successful