| 1 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Task Metadata: |
| 2 | - Instance ID: matplotlib__matplotlib-22711 |
| 3 | - Testbed: matplotlib__matplotlib__3.5 |
| 4 | - |
| 5 | - Evaluation Model: gpt-4-0125-preview |
| 6 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git -c advice.detachedHead=false checkout f670fe78795b18eb1118707721852209cd77ad51 |
| 7 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 8 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 9 | Previous HEAD position was de98877e3d Move axes_grid tests to axes_grid1 (#23861) |
| 10 | HEAD is now at f670fe7879 Merge pull request #22263 from jklymak/doc-version-switcher-condense |
| 11 | |
| 12 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 13 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-22711_pred_try.patch |
| 14 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 15 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 16 | Checking patch lib/matplotlib/widgets.py... |
| 17 | Applied patch lib/matplotlib/widgets.py cleanly. |
| 18 | |
| 19 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 20 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Apply patch successful (pred_try) |
| 21 | >>>>> Applied Patch (pred_try) |
| 22 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git apply -v -R /home/swe-bench/temp_matplotlib__matplotlib-22711_pred_try.patch |
| 23 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 24 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 25 | Checking patch lib/matplotlib/widgets.py... |
| 26 | Applied patch lib/matplotlib/widgets.py cleanly. |
| 27 | |
| 28 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 29 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Revert patch successful (pred_try) |
| 30 | >>>>> Applied Patch (pred_try) |
| 31 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-22711_pred.patch |
| 32 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 33 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 34 | Checking patch lib/matplotlib/widgets.py... |
| 35 | Applied patch lib/matplotlib/widgets.py cleanly. |
| 36 | |
| 37 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 38 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Apply patch successful (pred) |
| 39 | >>>>> Applied Patch (pred) |
| 40 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git restore lib/matplotlib/tests/test_widgets.py |
| 41 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 42 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 43 | |
| 44 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 45 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-22711_test.patch |
| 46 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2} |
| 47 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Std. Output: |
| 48 | Checking patch lib/matplotlib/tests/test_widgets.py... |
| 49 | Applied patch lib/matplotlib/tests/test_widgets.py cleanly. |
| 50 | |
| 51 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 0 |
| 52 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Apply patch successful (test) |
| 53 | >>>>> Applied Patch (test) |
| 54 | Test Script: conda run -n matplotlib__matplotlib__3.5 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_widgets.py; |
| 55 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Command: conda run -n matplotlib__matplotlib__3.5 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_widgets.py |
| 56 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] 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.5] [matplotlib__matplotlib-22711] Std. Output: |
| 58 | ============================= test session starts ============================== |
| 59 | collected 96 items |
| 60 | |
| 61 | lib/matplotlib/tests/test_widgets.py F.................................. [ 36%] |
| 62 | ......................s.............FF......s................ [100%] |
| 63 | |
| 64 | =========================== short test summary info ============================ |
| 65 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-0-10-data] |
| 66 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-0-10-pixels] |
| 67 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-1-10.5-data] |
| 68 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-1-10.5-pixels] |
| 69 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-1-11-data] |
| 70 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[0-10-1-11-pixels] |
| 71 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-0-10-data] |
| 72 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-0-10-pixels] |
| 73 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-1-10.5-data] |
| 74 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-1-10.5-pixels] |
| 75 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-1-11-data] |
| 76 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-10.5-1-11-pixels] |
| 77 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-0-10-data] |
| 78 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-0-10-pixels] |
| 79 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-1-10.5-data] |
| 80 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-1-10.5-pixels] |
| 81 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-1-11-data] |
| 82 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_minspan[1-11-1-11-pixels] |
| 83 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_drag[True-new_center0] |
| 84 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_drag[False-new_center1] |
| 85 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector_set_props_handle_props |
| 86 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize |
| 87 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_add_state |
| 88 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_center[True] |
| 89 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_center[False] |
| 90 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_square[True] |
| 91 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_square[False] |
| 92 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_square_center |
| 93 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_rotate[RectangleSelector] |
| 94 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_rotate[EllipseSelector] |
| 95 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectange_add_remove_set |
| 96 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_square_center_aspect[False] |
| 97 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_resize_square_center_aspect[True] |
| 98 | PASSED lib/matplotlib/tests/test_widgets.py::test_ellipse |
| 99 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_handles |
| 100 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector_onselect[True] |
| 101 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector_onselect[False] |
| 102 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector_ignore_outside[True] |
| 103 | PASSED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector_ignore_outside[False] |
| 104 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector |
| 105 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_onselect[True] |
| 106 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_onselect[False] |
| 107 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_ignore_outside[True] |
| 108 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_ignore_outside[False] |
| 109 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_drag[True] |
| 110 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_drag[False] |
| 111 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_direction |
| 112 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_set_props_handle_props |
| 113 | PASSED lib/matplotlib/tests/test_widgets.py::test_selector_clear[span] |
| 114 | PASSED lib/matplotlib/tests/test_widgets.py::test_selector_clear[rectangle] |
| 115 | PASSED lib/matplotlib/tests/test_widgets.py::test_selector_clear_method[span] |
| 116 | PASSED lib/matplotlib/tests/test_widgets.py::test_selector_clear_method[rectangle] |
| 117 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_add_state |
| 118 | PASSED lib/matplotlib/tests/test_widgets.py::test_tool_line_handle |
| 119 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_bound[horizontal] |
| 120 | PASSED lib/matplotlib/tests/test_widgets.py::test_span_selector_bound[vertical] |
| 121 | PASSED lib/matplotlib/tests/test_widgets.py::test_lasso_selector |
| 122 | PASSED lib/matplotlib/tests/test_widgets.py::test_CheckButtons |
| 123 | PASSED lib/matplotlib/tests/test_widgets.py::test_TextBox[none] |
| 124 | PASSED lib/matplotlib/tests/test_widgets.py::test_TextBox[toolbar2] |
| 125 | PASSED lib/matplotlib/tests/test_widgets.py::test_TextBox[toolmanager] |
| 126 | PASSED lib/matplotlib/tests/test_widgets.py::test_check_radio_buttons_image[png] |
| 127 | PASSED lib/matplotlib/tests/test_widgets.py::test_check_bunch_of_radio_buttons[png] |
| 128 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_slidermin_slidermax_invalid |
| 129 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_slidermin_slidermax |
| 130 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_valmin_valmax |
| 131 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_valstep_snapping |
| 132 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_horizontal_vertical |
| 133 | PASSED lib/matplotlib/tests/test_widgets.py::test_slider_reset |
| 134 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector[False] |
| 135 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector[True] |
| 136 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_set_props_handle_props[False] |
| 137 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_set_props_handle_props[True] |
| 138 | PASSED lib/matplotlib/tests/test_widgets.py::test_rect_visibility[png] |
| 139 | PASSED lib/matplotlib/tests/test_widgets.py::test_rect_visibility[pdf] |
| 140 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[False-1] |
| 141 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[False-2] |
| 142 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[False-3] |
| 143 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[True-1] |
| 144 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[True-2] |
| 145 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove[True-3] |
| 146 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove_first_point[False] |
| 147 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_remove_first_point[True] |
| 148 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_redraw[False] |
| 149 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_redraw[True] |
| 150 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_verts_setter[png-False] |
| 151 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_verts_setter[png-True] |
| 152 | PASSED lib/matplotlib/tests/test_widgets.py::test_polygon_selector_box |
| 153 | PASSED lib/matplotlib/tests/test_widgets.py::test_MultiCursor[True-True] |
| 154 | PASSED lib/matplotlib/tests/test_widgets.py::test_MultiCursor[True-False] |
| 155 | PASSED lib/matplotlib/tests/test_widgets.py::test_MultiCursor[False-True] |
| 156 | SKIPPED [1] lib/matplotlib/tests/test_widgets.py:870: Failed to switch to backend QtAgg (Cannot load backend 'QtAgg' which requires the 'qt' interactive framework, as 'headless' is currently running). |
| 157 | SKIPPED [1] lib/matplotlib/testing/compare.py:262: Don't know how to convert .svg files to png |
| 158 | FAILED lib/matplotlib/tests/test_widgets.py::test_rectangle_selector - matplo... |
| 159 | FAILED lib/matplotlib/tests/test_widgets.py::test_range_slider[horizontal] - ... |
| 160 | FAILED lib/matplotlib/tests/test_widgets.py::test_range_slider[vertical] - As... |
| 161 | =================== 3 failed, 91 passed, 2 skipped in 46.29s =================== |
| 162 | ERROR conda.cli.main_run:execute(124): `conda run pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_widgets.py` failed. (See above for error) |
| 163 | |
| 164 | |
| 165 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Return Code: 1 |
| 166 | |
| 167 | >>>>> Some Tests Failed |
| 168 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-22711] Test script run successful |