-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-14534.gpt-4-0125-preview.eval.log
228 lines (217 loc) · 16.2 KB
/
django__django-14534.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
[django__django__4.0] [django__django-14534] Task Metadata:
- Instance ID: django__django-14534
- Testbed: django__django__4.0
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.8.19
[django__django__4.0] [django__django-14534] Command: git -c advice.detachedHead=false checkout 910ecd1b8df7678f45c3d507dde6bcb1faafa243
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14534] Std. Output:
Previous HEAD position was 475cffd1d6 Fixed typo in docs/intro/reusable-apps.txt.
HEAD is now at 910ecd1b8d Fixed #29063 -- Fixed migrate crash when specifying a name of partially applied squashed migrations.
[django__django__4.0] [django__django-14534] Return Code: 0
[django__django__4.0] [django__django-14534] Command: git apply -v /opt/temp_django__django-14534_pred_try.patch
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14534] Std. Output:
Checking patch django/forms/boundfield.py...
Applied patch django/forms/boundfield.py cleanly.
[django__django__4.0] [django__django-14534] Return Code: 0
[django__django__4.0] [django__django-14534] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14534] Command: git apply -v -R /opt/temp_django__django-14534_pred_try.patch
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14534] Std. Output:
Checking patch django/forms/boundfield.py...
Applied patch django/forms/boundfield.py cleanly.
[django__django__4.0] [django__django-14534] Return Code: 0
[django__django__4.0] [django__django-14534] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14534] Command: git apply -v /opt/temp_django__django-14534_pred.patch
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14534] Std. Output:
Checking patch django/forms/boundfield.py...
Applied patch django/forms/boundfield.py cleanly.
[django__django__4.0] [django__django-14534] Return Code: 0
[django__django__4.0] [django__django-14534] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.0] [django__django-14534] Command: git apply -v /opt/temp_django__django-14534_test.patch
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14534] Std. Output:
Checking patch tests/forms_tests/tests/test_forms.py...
Applied patch tests/forms_tests/tests/test_forms.py cleanly.
[django__django__4.0] [django__django-14534] Return Code: 0
[django__django__4.0] [django__django-14534] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 forms_tests.tests.test_forms;
[django__django__4.0] [django__django-14534] Command: ./tests/runtests.py --verbosity 2 forms_tests.tests.test_forms
[django__django__4.0] [django__django-14534] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__4.0] [django__django-14534] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application forms_tests
Found 121 test(s).
Skipping setup of unused database(s): default, other.
System check identified no issues (0 silenced).
test_attribute_class (forms_tests.tests.test_forms.RendererTests) ... ok
test_attribute_instance (forms_tests.tests.test_forms.RendererTests) ... ok
test_attribute_override (forms_tests.tests.test_forms.RendererTests) ... ok
test_default (forms_tests.tests.test_forms.RendererTests) ... ok
test_kwarg_class (forms_tests.tests.test_forms.RendererTests) ... ok
test_kwarg_instance (forms_tests.tests.test_forms.RendererTests) ... ok
test_accessing_clean (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_auto_id (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_auto_id_false (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_auto_id_on_form_and_field (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_auto_id_true (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_baseform_repr (forms_tests.tests.test_forms.FormsTestCase)
BaseForm.__repr__() should contain some basic information about the ... ok
test_baseform_repr_dont_trigger_validation (forms_tests.tests.test_forms.FormsTestCase)
BaseForm.__repr__() shouldn't trigger the form validation. ... ok
test_basic_processing_in_view (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_bool (forms_tests.tests.test_forms.FormsTestCase)
BoundField without any choices (subwidgets) evaluates to True. ... ok
test_boundfield_css_classes (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_empty_label (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_id_for_label (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_id_for_label_override_by_attrs (forms_tests.tests.test_forms.FormsTestCase)
If an id is provided in `Widget.attrs`, it overrides the generated ID, ... ok
test_boundfield_initial_called_once (forms_tests.tests.test_forms.FormsTestCase)
Multiple calls to BoundField().value() in an unbound form should return ... ok
test_boundfield_invalid_index (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_label_tag (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_label_tag_custom_widget_id_for_label (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_label_tag_no_id (forms_tests.tests.test_forms.FormsTestCase)
If a widget has no id, label_tag just returns the text with no ... ok
test_boundfield_slice (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_subwidget_id_for_label (forms_tests.tests.test_forms.FormsTestCase)
If auto_id is provided when initializing the form, the generated ID in ... ok
test_boundfield_value_disabled_callable_initial (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_values (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_boundfield_widget_type (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_callable_initial_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_changed_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_changing_cleaned_data_in_clean (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_changing_cleaned_data_nothing_returned (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_checkbox_auto_id (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_class_prefix (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_cleaned_data_only_fields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_custom_boundfield (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_custom_empty_values (forms_tests.tests.test_forms.FormsTestCase)
Form fields can customize what is considered as an empty value ... ok
test_datetime_changed_data_callable_with_microseconds (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_datetime_clean_disabled_callable_initial_bound_field (forms_tests.tests.test_forms.FormsTestCase)
The cleaned value for a form with a disabled DateTimeField and callable ... ok
test_datetime_clean_disabled_callable_initial_microseconds (forms_tests.tests.test_forms.FormsTestCase)
Cleaning a form with a disabled DateTimeField and callable initial ... ok
test_dynamic_construction (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_dynamic_initial_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_empty_data_files_multi_value_dict (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_empty_dict (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_empty_permitted (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_empty_permitted_and_use_required_attribute (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_empty_querydict_args (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_dict (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_dict_as_json_escape_html (forms_tests.tests.test_forms.FormsTestCase)
#21962 - adding html escape flag to ErrorDict ... ok
test_error_escaping (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_html_required_html_classes (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_list (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_list_class_has_one_class_specified (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_list_class_not_specified (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_list_with_hidden_field_errors_has_correct_class (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_error_list_with_non_field_errors_has_correct_class (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_errorlist_override (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_escaping (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_explicit_field_order (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_extracting_hidden_and_visible (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_field_deep_copy_error_messages (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_field_name (forms_tests.tests.test_forms.FormsTestCase)
#5749 - `field_name` may be used as a key in _html_output(). ... ok
test_field_name_with_hidden_input (forms_tests.tests.test_forms.FormsTestCase)
BaseForm._html_output() should merge all the hidden input fields and ... ok
test_field_name_with_hidden_input_and_non_matching_row_ender (forms_tests.tests.test_forms.FormsTestCase)
BaseForm._html_output() should merge all the hidden input fields and ... ok
test_field_named_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_field_order (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_field_with_css_class (forms_tests.tests.test_forms.FormsTestCase)
`css_classes` may be used as a key in _html_output() (class comes ... ok
test_field_without_css_classes (forms_tests.tests.test_forms.FormsTestCase)
`css_classes` may be used as a key in _html_output() (empty classes). ... ok
test_filefield_initial_callable (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_filefield_with_fileinput_required (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form_html_attributes (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form_with_disabled_fields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form_with_iterable_boundfield (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form_with_iterable_boundfield_id (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_form_with_noniterable_boundfield (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_choices (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_file_fields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_multiple_choice (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_null_boolean (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_prefixes (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_forms_with_radio (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_get_initial_for_field (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_has_error (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_help_text (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_hidden_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_hidden_initial_gets_id (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_hidden_widget (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_html_output_with_hidden_input_field_errors (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_html_safe (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_id_on_field (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_initial_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_initial_datetime_values (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_iterable_boundfield_select (forms_tests.tests.test_forms.FormsTestCase) ... FAIL
test_label_has_required_css_class (forms_tests.tests.test_forms.FormsTestCase)
#17922 - required_css_class is added to the label_tag() of required fields. ... ok
test_label_split_datetime_not_displayed (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_label_suffix (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_label_tag_override (forms_tests.tests.test_forms.FormsTestCase)
BoundField label_suffix (if provided) overrides Form label_suffix ... ok
test_multipart_encoded_form (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_multiple_choice_checkbox (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_multiple_choice_list_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_multiple_hidden (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_multivalue_deep_copy (forms_tests.tests.test_forms.FormsTestCase)
#19298 -- MultiValueField needs to override the default as it needs ... ok
test_multivalue_field_validation (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_multivalue_initial_data (forms_tests.tests.test_forms.FormsTestCase)
#23674 -- invalid initial data should not break form.changed_data() ... ok
test_multivalue_optional_subfields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_only_hidden_fields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_optional_data (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_specifying_labels (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_subclassing_forms (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_templates_with_forms (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_unbound_form (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_unicode_values (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_update_error_dict (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_use_required_attribute_false (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_use_required_attribute_true (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_validating_multiple_fields (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_validators_independence (forms_tests.tests.test_forms.FormsTestCase)
The list of form field validators can be modified without polluting ... ok
test_various_boolean_values (forms_tests.tests.test_forms.FormsTestCase) ... ok
test_widget_output (forms_tests.tests.test_forms.FormsTestCase) ... ok
======================================================================
FAIL: test_iterable_boundfield_select (forms_tests.tests.test_forms.FormsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.8.19/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/opt/pyenv/versions/3.8.19/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/opt/pyenv/versions/3.8.19/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/opt/django__django/tests/forms_tests/tests/test_forms.py", line 723, in test_iterable_boundfield_select
self.assertEqual(fields[0].id_for_label, None)
File "/opt/pyenv/versions/3.8.19/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pyenv/versions/3.8.19/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 'id_name_0' != None
----------------------------------------------------------------------
Ran 121 tests in 1.539s
FAILED (failures=1)
[django__django__4.0] [django__django-14534] Return Code: 1
>>>>> Some Tests Failed
[django__django__4.0] [django__django-14534] Test script run successful