| 1 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Task Metadata: |
| 2 | - Instance ID: matplotlib__matplotlib-23913 |
| 3 | - Testbed: matplotlib__matplotlib__3.6 |
| 4 | - |
| 5 | - Evaluation Model: gpt-4-0125-preview |
| 6 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git -c advice.detachedHead=false checkout 5c4595267ccd3daf78f5fd05693b7ecbcd575c1e |
| 7 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 8 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 9 | Previous HEAD position was 73909bcb40 Merge pull request #24781 from tacaswell/mnt/restore_doc_sha |
| 10 | HEAD is now at 5c4595267c Merge pull request #23896 from anntzer/uof |
| 11 | |
| 12 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 13 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23913_pred_try.patch |
| 14 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 15 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 16 | Checking patch lib/matplotlib/legend.py... |
| 17 | Applied patch lib/matplotlib/legend.py cleanly. |
| 18 | |
| 19 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 20 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Apply patch successful (pred_try) |
| 21 | >>>>> Applied Patch (pred_try) |
| 22 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git apply -v -R /home/swe-bench/temp_matplotlib__matplotlib-23913_pred_try.patch |
| 23 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 24 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 25 | Checking patch lib/matplotlib/legend.py... |
| 26 | Applied patch lib/matplotlib/legend.py cleanly. |
| 27 | |
| 28 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 29 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Revert patch successful (pred_try) |
| 30 | >>>>> Applied Patch (pred_try) |
| 31 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23913_pred.patch |
| 32 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 33 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 34 | Checking patch lib/matplotlib/legend.py... |
| 35 | Applied patch lib/matplotlib/legend.py cleanly. |
| 36 | |
| 37 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 38 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Apply patch successful (pred) |
| 39 | >>>>> Applied Patch (pred) |
| 40 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git restore lib/matplotlib/tests/test_legend.py |
| 41 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 42 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 43 | |
| 44 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 45 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23913_test.patch |
| 46 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 47 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 48 | Checking patch lib/matplotlib/tests/test_legend.py... |
| 49 | Applied patch lib/matplotlib/tests/test_legend.py cleanly. |
| 50 | |
| 51 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 0 |
| 52 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Apply patch successful (test) |
| 53 | >>>>> Applied Patch (test) |
| 54 | Test Script: conda run -n matplotlib__matplotlib__3.6 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_legend.py; |
| 55 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Command: conda run -n matplotlib__matplotlib__3.6 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_legend.py |
| 56 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800} |
| 57 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Std. Output: |
| 58 | ============================= test session starts ============================== |
| 59 | collected 114 items |
| 60 | |
| 61 | lib/matplotlib/tests/test_legend.py FFFsFFsFFsFFsFFFFFFFsFFsFFsFFsFFsF.. [ 31%] |
| 62 | ...F...F.......FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFF [ 94%] |
| 63 | FFFFFF [100%] |
| 64 | |
| 65 | =========================== short test summary info ============================ |
| 66 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_no_args |
| 67 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_handles_labels |
| 68 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_handles_only |
| 69 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_labels_only |
| 70 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_three_args |
| 71 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_handles_only |
| 72 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_labels_only |
| 73 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_handles_labels |
| 74 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_parasite |
| 75 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_handle_label |
| 76 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_no_args |
| 77 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_arg |
| 78 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_three_args |
| 79 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_three_args_pluskw |
| 80 | PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_kw_args |
| 81 | PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_label_incorrect_length_exception |
| 82 | SKIPPED [9] ../miniconda3/envs/matplotlib__matplotlib__3.6/lib/python3.11/contextlib.py:81: Cannot compare svg files because Inkscape is not installed |
| 83 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_ordereddict - Attribu... |
| 84 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto1[png] - Attribut... |
| 85 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto1[pdf] - Attribut... |
| 86 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto2[png] - Attribut... |
| 87 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto2[pdf] - Attribut... |
| 88 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto3[png] - Attribut... |
| 89 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_auto3[pdf] - Attribut... |
| 90 | FAILED lib/matplotlib/tests/test_legend.py::test_various_labels[png] - Attrib... |
| 91 | FAILED lib/matplotlib/tests/test_legend.py::test_various_labels[pdf] - Attrib... |
| 92 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_label_with_leading_underscore |
| 93 | FAILED lib/matplotlib/tests/test_legend.py::test_labels_first[png] - Attribut... |
| 94 | FAILED lib/matplotlib/tests/test_legend.py::test_multiple_keys[png] - Attribu... |
| 95 | FAILED lib/matplotlib/tests/test_legend.py::test_alpha_rgba[png] - AttributeE... |
| 96 | FAILED lib/matplotlib/tests/test_legend.py::test_alpha_rcparam[png] - Attribu... |
| 97 | FAILED lib/matplotlib/tests/test_legend.py::test_fancy[png] - AttributeError:... |
| 98 | FAILED lib/matplotlib/tests/test_legend.py::test_fancy[pdf] - AttributeError:... |
| 99 | FAILED lib/matplotlib/tests/test_legend.py::test_framealpha[png] - AttributeE... |
| 100 | FAILED lib/matplotlib/tests/test_legend.py::test_framealpha[pdf] - AttributeE... |
| 101 | FAILED lib/matplotlib/tests/test_legend.py::test_rc[png] - AttributeError: 'L... |
| 102 | FAILED lib/matplotlib/tests/test_legend.py::test_rc[pdf] - AttributeError: 'L... |
| 103 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_expand[png] - Attribu... |
| 104 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_expand[pdf] - Attribu... |
| 105 | FAILED lib/matplotlib/tests/test_legend.py::test_hatching[png] - AttributeErr... |
| 106 | FAILED lib/matplotlib/tests/test_legend.py::test_hatching[pdf] - AttributeErr... |
| 107 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_remove - AttributeErr... |
| 108 | FAILED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_handler_map |
| 109 | FAILED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_warn_mixed_args_and_kwargs |
| 110 | FAILED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_warn_args_kwargs |
| 111 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_stackplot[png] - Attr... |
| 112 | FAILED lib/matplotlib/tests/test_legend.py::test_cross_figure_patch_legend - ... |
| 113 | FAILED lib/matplotlib/tests/test_legend.py::test_nanscatter - AttributeError:... |
| 114 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_repeatcheckok - Attri... |
| 115 | FAILED lib/matplotlib/tests/test_legend.py::test_not_covering_scatter[png] - ... |
| 116 | FAILED lib/matplotlib/tests/test_legend.py::test_not_covering_scatter_transform[png] |
| 117 | FAILED lib/matplotlib/tests/test_legend.py::test_linecollection_scaled_dashes |
| 118 | FAILED lib/matplotlib/tests/test_legend.py::test_handler_numpoints - Attribut... |
| 119 | FAILED lib/matplotlib/tests/test_legend.py::test_text_nohandler_warning - Att... |
| 120 | FAILED lib/matplotlib/tests/test_legend.py::test_empty_bar_chart_with_legend |
| 121 | FAILED lib/matplotlib/tests/test_legend.py::test_shadow_framealpha - Attribut... |
| 122 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_title_empty - Attribu... |
| 123 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_proper_window_extent |
| 124 | FAILED lib/matplotlib/tests/test_legend.py::test_window_extent_cached_renderer |
| 125 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_title_fontprop_fontsize |
| 126 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_alignment[center] - A... |
| 127 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_alignment[left] - Att... |
| 128 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_alignment[right] - At... |
| 129 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[center] |
| 130 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[left] |
| 131 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[right] |
| 132 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[red] |
| 133 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[none] |
| 134 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[color2] |
| 135 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_list - Att... |
| 136 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_linecolor |
| 137 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_markeredgecolor |
| 138 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_markerfacecolor |
| 139 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[red] |
| 140 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[none] |
| 141 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[color2] |
| 142 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_linecolor |
| 143 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markeredgecolor |
| 144 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markeredgecolor_short |
| 145 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markerfacecolor |
| 146 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markerfacecolor_short |
| 147 | FAILED lib/matplotlib/tests/test_legend.py::test_get_set_draggable - Attribut... |
| 148 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_draggable[True] - Typ... |
| 149 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_draggable[False] - Ty... |
| 150 | FAILED lib/matplotlib/tests/test_legend.py::test_alpha_handles - AttributeErr... |
| 151 | FAILED lib/matplotlib/tests/test_legend.py::test_usetex_no_warn - AttributeEr... |
| 152 | FAILED lib/matplotlib/tests/test_legend.py::test_warn_big_data_best_loc - Att... |
| 153 | FAILED lib/matplotlib/tests/test_legend.py::test_no_warn_big_data_when_loc_specified |
| 154 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array0] |
| 155 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array1] |
| 156 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array2] |
| 157 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[one] |
| 158 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[1] |
| 159 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[int] |
| 160 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array0] |
| 161 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array1] |
| 162 | FAILED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array2] |
| 163 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_face_edgecolor - Attr... |
| 164 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_text_axes - Attribute... |
| 165 | FAILED lib/matplotlib/tests/test_legend.py::test_handlerline2d - AttributeErr... |
| 166 | FAILED lib/matplotlib/tests/test_legend.py::test_subfigure_legend - Attribute... |
| 167 | FAILED lib/matplotlib/tests/test_legend.py::test_setting_alpha_keeps_polycollection_color |
| 168 | FAILED lib/matplotlib/tests/test_legend.py::test_legend_markers_from_line2d |
| 169 | FAILED lib/matplotlib/tests/test_legend.py::test_ncol_ncols[png] - AttributeE... |
| 170 | FAILED lib/matplotlib/tests/test_legend.py::test_ncol_ncols[pdf] - AttributeE... |
| 171 | FAILED lib/matplotlib/tests/test_legend.py::test_ncol_ncols[svg] - AttributeE... |
| 172 | ================== 89 failed, 16 passed, 9 skipped in 16.83s =================== |
| 173 | ERROR conda.cli.main_run:execute(124): `conda run pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_legend.py` failed. (See above for error) |
| 174 | |
| 175 | |
| 176 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Return Code: 1 |
| 177 | |
| 178 | >>>>> Some Tests Failed |
| 179 | [matplotlib__matplotlib__3.6] [matplotlib__matplotlib-23913] Test script run successful |