@@ -48,9 +48,9 @@ If you run this for the first time you will see two failures:
48
48
.. code-block :: pytest
49
49
50
50
$ pytest -q
51
- .................F.......F........................ [100%]
52
- ====================================== FAILURES ===== =================================
53
- ____________________________________ test_num[17] ____________________________________
51
+ .................F.......F........................ [100%]
52
+ ================================= FAILURES =================================
53
+ _______________________________ test_num[17] _______________________________
54
54
55
55
i = 17
56
56
@@ -61,7 +61,7 @@ If you run this for the first time you will see two failures:
61
61
E Failed: bad luck
62
62
63
63
test_50.py:6: Failed
64
- ____________________________________ test_num[25] ____________________________________
64
+ _______________________________ test_num[25] _______________________________
65
65
66
66
i = 25
67
67
@@ -79,18 +79,18 @@ If you then run it with ``--lf``:
79
79
.. code-block :: pytest
80
80
81
81
$ pytest --lf
82
- ================================ test session starts ===== ============================
82
+ =========================== test session starts ============================
83
83
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
84
84
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$REGENDOC_TMPDIR/.hypothesis/examples')
85
85
rootdir: $REGENDOC_TMPDIR, inifile:
86
86
plugins: hypothesis-3.x.y
87
87
collected 50 items / 48 deselected
88
88
run-last-failure: rerun previous 2 failures
89
89
90
- test_50.py FF [100%]
90
+ test_50.py FF [100%]
91
91
92
- ====================================== FAILURES ===== =================================
93
- ____________________________________ test_num[17] ____________________________________
92
+ ================================= FAILURES =================================
93
+ _______________________________ test_num[17] _______________________________
94
94
95
95
i = 17
96
96
@@ -101,7 +101,7 @@ If you then run it with ``--lf``:
101
101
E Failed: bad luck
102
102
103
103
test_50.py:6: Failed
104
- ____________________________________ test_num[25] ____________________________________
104
+ _______________________________ test_num[25] _______________________________
105
105
106
106
i = 25
107
107
@@ -112,7 +112,7 @@ If you then run it with ``--lf``:
112
112
E Failed: bad luck
113
113
114
114
test_50.py:6: Failed
115
- ====================== 2 failed, 48 deselected in 0.12 seconds ===== ==================
115
+ ================= 2 failed, 48 deselected in 0.12 seconds ==================
116
116
117
117
You have run only the two failing test from the last run, while 48 tests have
118
118
not been run ("deselected").
@@ -124,18 +124,18 @@ of ``FF`` and dots):
124
124
.. code-block :: pytest
125
125
126
126
$ pytest --ff
127
- ================================ test session starts ===== ============================
127
+ =========================== test session starts ============================
128
128
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
129
129
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$REGENDOC_TMPDIR/.hypothesis/examples')
130
130
rootdir: $REGENDOC_TMPDIR, inifile:
131
131
plugins: hypothesis-3.x.y
132
132
collected 50 items
133
133
run-last-failure: rerun previous 2 failures first
134
134
135
- test_50.py FF................................................ [100%]
135
+ test_50.py FF................................................ [100%]
136
136
137
- ====================================== FAILURES ===== =================================
138
- ____________________________________ test_num[17] ____________________________________
137
+ ================================= FAILURES =================================
138
+ _______________________________ test_num[17] _______________________________
139
139
140
140
i = 17
141
141
@@ -146,7 +146,7 @@ of ``FF`` and dots):
146
146
E Failed: bad luck
147
147
148
148
test_50.py:6: Failed
149
- ____________________________________ test_num[25] ____________________________________
149
+ _______________________________ test_num[25] _______________________________
150
150
151
151
i = 25
152
152
@@ -157,7 +157,7 @@ of ``FF`` and dots):
157
157
E Failed: bad luck
158
158
159
159
test_50.py:6: Failed
160
- ======================== 2 failed, 48 passed in 0.12 seconds ===== ====================
160
+ =================== 2 failed, 48 passed in 0.12 seconds ====================
161
161
162
162
.. _`config.cache` :
163
163
@@ -209,9 +209,9 @@ If you run this command for the first time, you can see the print statement:
209
209
.. code-block :: pytest
210
210
211
211
$ pytest -q
212
- F [100%]
213
- ====================================== FAILURES ===== =================================
214
- ___________________________________ test_function ____________________________________
212
+ F [100%]
213
+ ================================= FAILURES =================================
214
+ ______________________________ test_function _______________________________
215
215
216
216
mydata = 42
217
217
@@ -220,7 +220,7 @@ If you run this command for the first time, you can see the print statement:
220
220
E assert 42 == 23
221
221
222
222
test_caching.py:17: AssertionError
223
- ------------------------------- Captured stdout setup ----- ---------------------------
223
+ -------------------------- Captured stdout setup ---------------------------
224
224
running expensive computation...
225
225
1 failed in 0.12 seconds
226
226
@@ -230,9 +230,9 @@ the cache and nothing will be printed:
230
230
.. code-block :: pytest
231
231
232
232
$ pytest -q
233
- F [100%]
234
- ====================================== FAILURES ===== =================================
235
- ___________________________________ test_function ____________________________________
233
+ F [100%]
234
+ ================================= FAILURES =================================
235
+ ______________________________ test_function _______________________________
236
236
237
237
mydata = 42
238
238
@@ -255,13 +255,13 @@ You can always peek at the content of the cache using the
255
255
.. code-block :: pytest
256
256
257
257
$ pytest --cache-show
258
- ================================ test session starts ===== ============================
258
+ =========================== test session starts ============================
259
259
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
260
260
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$REGENDOC_TMPDIR/.hypothesis/examples')
261
261
rootdir: $REGENDOC_TMPDIR, inifile:
262
262
plugins: hypothesis-3.x.y
263
263
cachedir: $REGENDOC_TMPDIR/.pytest_cache
264
- ------------------------------------ cache values ----- -------------------------------
264
+ ------------------------------- cache values -------------------------------
265
265
cache/lastfailed contains:
266
266
{'test_caching.py::test_function': True}
267
267
cache/nodeids contains:
@@ -271,7 +271,7 @@ You can always peek at the content of the cache using the
271
271
example/value contains:
272
272
42
273
273
274
- ============================ no tests ran in 0.12 seconds ===== =======================
274
+ ======================= no tests ran in 0.12 seconds =======================
275
275
276
276
Clearing Cache content
277
277
-------------------------------
0 commit comments