-
Notifications
You must be signed in to change notification settings - Fork 24
/
pytest-dev__pytest-7168.SWE-bench_Lite_golden.eval.log
149 lines (133 loc) · 11.2 KB
/
pytest-dev__pytest-7168.SWE-bench_Lite_golden.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
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Task Metadata:
- Instance ID: pytest-dev__pytest-7168
- Testbed: pytest-dev__pytest__5.4
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.11.8
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git -c advice.detachedHead=false checkout 4787fd64a4ca0dba5528b5651bddd254102fe9f3
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Previous HEAD position was 678c1a074 assertion: improve diff output of recursive dataclass/attrs
HEAD is now at 4787fd64a Merge pull request #7167 from bluetech/lint-merge-fix
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Running pre-test command: pip install -e .
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: conda run -n pytest-dev__pytest__5.4 pip install -e .
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Obtaining file:///home/swe-bench/pytest-dev__pytest
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: py>=1.5.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (1.11.0)
Requirement already satisfied: packaging in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (23.1)
Requirement already satisfied: attrs>=17.4.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (23.1.0)
Requirement already satisfied: more-itertools>=4.0.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (10.1.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (0.13.1)
Requirement already satisfied: wcwidth in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (0.2.6)
Building wheels for collected packages: pytest
Building editable for pytest (pyproject.toml): started
Building editable for pytest (pyproject.toml): finished with status 'done'
Created wheel for pytest: filename=pytest-5.4.1.dev195+g4787fd64a-0.editable-py3-none-any.whl size=7937 sha256=318c099ff0c013aa8ce2ddbbd4815660e5199f997ad9b18d6d75eb3e8803826f
Stored in directory: /tmp/pip-ephem-wheel-cache-b6o083y5/wheels/a6/44/a9/b1a742a6dfeb5fa7a6a187e5f4be92c62c5af751ce837b5b46
Successfully built pytest
Installing collected packages: pytest
Attempting uninstall: pytest
Found existing installation: pytest 5.4.1.dev626+g678c1a074
Uninstalling pytest-5.4.1.dev626+g678c1a074:
Successfully uninstalled pytest-5.4.1.dev626+g678c1a074
Successfully installed pytest-5.4.1.dev195+g4787fd64a
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
Pre-installation Command: conda run -n pytest-dev__pytest__5.4 pip install -e .
Std. Output: Obtaining file:///home/swe-bench/pytest-dev__pytest
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: py>=1.5.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (1.11.0)
Requirement already satisfied: packaging in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (23.1)
Requirement already satisfied: attrs>=17.4.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (23.1.0)
Requirement already satisfied: more-itertools>=4.0.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (10.1.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (0.13.1)
Requirement already satisfied: wcwidth in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev195+g4787fd64a) (0.2.6)
Building wheels for collected packages: pytest
Building editable for pytest (pyproject.toml): started
Building editable for pytest (pyproject.toml): finished with status 'done'
Created wheel for pytest: filename=pytest-5.4.1.dev195+g4787fd64a-0.editable-py3-none-any.whl size=7937 sha256=318c099ff0c013aa8ce2ddbbd4815660e5199f997ad9b18d6d75eb3e8803826f
Stored in directory: /tmp/pip-ephem-wheel-cache-b6o083y5/wheels/a6/44/a9/b1a742a6dfeb5fa7a6a187e5f4be92c62c5af751ce837b5b46
Successfully built pytest
Installing collected packages: pytest
Attempting uninstall: pytest
Found existing installation: pytest 5.4.1.dev626+g678c1a074
Uninstalling pytest-5.4.1.dev626+g678c1a074:
Successfully uninstalled pytest-5.4.1.dev626+g678c1a074
Successfully installed pytest-5.4.1.dev195+g4787fd64a
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7168_pred_try.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Checking patch src/_pytest/_io/saferepr.py...
Applied patch src/_pytest/_io/saferepr.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git apply -v -R /home/swe-bench/temp_pytest-dev__pytest-7168_pred_try.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Checking patch src/_pytest/_io/saferepr.py...
Applied patch src/_pytest/_io/saferepr.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7168_pred.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Checking patch src/_pytest/_io/saferepr.py...
Applied patch src/_pytest/_io/saferepr.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git restore testing/io/test_saferepr.py
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7168_test.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
Checking patch testing/io/test_saferepr.py...
Applied patch testing/io/test_saferepr.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n pytest-dev__pytest__5.4 pytest -rA testing/io/test_saferepr.py;
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Command: conda run -n pytest-dev__pytest__5.4 pytest -rA testing/io/test_saferepr.py
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Std. Output:
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev195+g4787fd64a, py-1.11.0, pluggy-0.13.1
rootdir: /home/swe-bench/pytest-dev__pytest, inifile: tox.ini
collected 11 items
testing/io/test_saferepr.py ........... [100%]
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED testing/io/test_saferepr.py::test_simple_repr
PASSED testing/io/test_saferepr.py::test_maxsize
PASSED testing/io/test_saferepr.py::test_maxsize_error_on_instance
PASSED testing/io/test_saferepr.py::test_exceptions
PASSED testing/io/test_saferepr.py::test_baseexception
PASSED testing/io/test_saferepr.py::test_buggy_builtin_repr
PASSED testing/io/test_saferepr.py::test_big_repr
PASSED testing/io/test_saferepr.py::test_repr_on_newstyle
PASSED testing/io/test_saferepr.py::test_unicode
PASSED testing/io/test_saferepr.py::test_pformat_dispatch
PASSED testing/io/test_saferepr.py::test_broken_getattribute
============================== 11 passed in 0.02s ==============================
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Return Code: 0
>>>>> All Tests Passed
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7168] Test script run successful