1
+ from pytest import CaptureFixture
2
+
1
3
from pdl .pdl_interpreter import generate
2
4
3
5
@@ -21,7 +23,7 @@ def do_test(t, capsys):
21
23
}
22
24
23
25
24
- def test_line (capsys ):
26
+ def test_line (capsys : CaptureFixture [ str ] ):
25
27
do_test (line , capsys )
26
28
27
29
@@ -35,7 +37,7 @@ def test_line(capsys):
35
37
}
36
38
37
39
38
- def test_line1 (capsys ):
40
+ def test_line1 (capsys : CaptureFixture [ str ] ):
39
41
do_test (line1 , capsys )
40
42
41
43
@@ -49,7 +51,7 @@ def test_line1(capsys):
49
51
}
50
52
51
53
52
- def test_line3 (capsys ):
54
+ def test_line3 (capsys : CaptureFixture [ str ] ):
53
55
do_test (line3 , capsys )
54
56
55
57
@@ -63,7 +65,7 @@ def test_line3(capsys):
63
65
}
64
66
65
67
66
- def test_line4 (capsys ):
68
+ def test_line4 (capsys : CaptureFixture [ str ] ):
67
69
do_test (line4 , capsys )
68
70
69
71
@@ -77,7 +79,7 @@ def test_line4(capsys):
77
79
}
78
80
79
81
80
- def test_line7 (capsys ):
82
+ def test_line7 (capsys : CaptureFixture [ str ] ):
81
83
do_test (line7 , capsys )
82
84
83
85
@@ -91,7 +93,7 @@ def test_line7(capsys):
91
93
}
92
94
93
95
94
- def test_line8 (capsys ):
96
+ def test_line8 (capsys : CaptureFixture [ str ] ):
95
97
do_test (line8 , capsys )
96
98
97
99
@@ -105,7 +107,7 @@ def test_line8(capsys):
105
107
}
106
108
107
109
108
- def test_line9 (capsys ):
110
+ def test_line9 (capsys : CaptureFixture [ str ] ):
109
111
do_test (line9 , capsys )
110
112
111
113
@@ -118,7 +120,7 @@ def test_line9(capsys):
118
120
}
119
121
120
122
121
- def test_line10 (capsys ):
123
+ def test_line10 (capsys : CaptureFixture [ str ] ):
122
124
do_test (line10 , capsys )
123
125
124
126
@@ -131,7 +133,7 @@ def test_line10(capsys):
131
133
}
132
134
133
135
134
- def test_line11 (capsys ):
136
+ def test_line11 (capsys : CaptureFixture [ str ] ):
135
137
do_test (line11 , capsys )
136
138
137
139
@@ -145,7 +147,7 @@ def test_line11(capsys):
145
147
}
146
148
147
149
148
- def test_line12 (capsys ):
150
+ def test_line12 (capsys : CaptureFixture [ str ] ):
149
151
do_test (line12 , capsys )
150
152
151
153
@@ -159,7 +161,7 @@ def test_line12(capsys):
159
161
}
160
162
161
163
162
- def test_line13 (capsys ):
164
+ def test_line13 (capsys : CaptureFixture [ str ] ):
163
165
do_test (line13 , capsys )
164
166
165
167
@@ -173,7 +175,7 @@ def test_line13(capsys):
173
175
}
174
176
175
177
176
- def test_line14 (capsys ):
178
+ def test_line14 (capsys : CaptureFixture [ str ] ):
177
179
do_test (line14 , capsys )
178
180
179
181
@@ -186,7 +188,7 @@ def test_line14(capsys):
186
188
}
187
189
188
190
189
- def test_line15 (capsys ):
191
+ def test_line15 (capsys : CaptureFixture [ str ] ):
190
192
do_test (line15 , capsys )
191
193
192
194
@@ -200,7 +202,7 @@ def test_line15(capsys):
200
202
}
201
203
202
204
203
- def test_line16 (capsys ):
205
+ def test_line16 (capsys : CaptureFixture [ str ] ):
204
206
do_test (line16 , capsys )
205
207
206
208
@@ -214,7 +216,7 @@ def test_line16(capsys):
214
216
}
215
217
216
218
217
- def test_line17 (capsys ):
219
+ def test_line17 (capsys : CaptureFixture [ str ] ):
218
220
do_test (line17 , capsys )
219
221
220
222
@@ -227,7 +229,7 @@ def test_line17(capsys):
227
229
}
228
230
229
231
230
- def test_line18 (capsys ):
232
+ def test_line18 (capsys : CaptureFixture [ str ] ):
231
233
do_test (line18 , capsys )
232
234
233
235
@@ -242,7 +244,7 @@ def test_line18(capsys):
242
244
}
243
245
244
246
245
- def test_line19 (capsys ):
247
+ def test_line19 (capsys : CaptureFixture [ str ] ):
246
248
do_test (line19 , capsys )
247
249
248
250
@@ -255,7 +257,7 @@ def test_line19(capsys):
255
257
}
256
258
257
259
258
- def test_line20 (capsys ):
260
+ def test_line20 (capsys : CaptureFixture [ str ] ):
259
261
do_test (line20 , capsys )
260
262
261
263
@@ -268,7 +270,7 @@ def test_line20(capsys):
268
270
}
269
271
270
272
271
- def test_line21 (capsys ):
273
+ def test_line21 (capsys : CaptureFixture [ str ] ):
272
274
do_test (line21 , capsys )
273
275
274
276
@@ -281,7 +283,7 @@ def test_line21(capsys):
281
283
}
282
284
283
285
284
- def test_line22 (capsys ):
286
+ def test_line22 (capsys : CaptureFixture [ str ] ):
285
287
do_test (line22 , capsys )
286
288
287
289
@@ -294,7 +296,7 @@ def test_line22(capsys):
294
296
}
295
297
296
298
297
- def test_line23 (capsys ):
299
+ def test_line23 (capsys : CaptureFixture [ str ] ):
298
300
do_test (line23 , capsys )
299
301
300
302
@@ -307,7 +309,7 @@ def test_line23(capsys):
307
309
}
308
310
309
311
310
- def test_line24 (capsys ):
312
+ def test_line24 (capsys : CaptureFixture [ str ] ):
311
313
do_test (line24 , capsys )
312
314
313
315
@@ -335,7 +337,7 @@ def test_line24(capsys):
335
337
}
336
338
337
339
338
- def test_line26 (capsys ):
340
+ def test_line26 (capsys : CaptureFixture [ str ] ):
339
341
do_test (line26 , capsys )
340
342
341
343
@@ -348,7 +350,7 @@ def test_line26(capsys):
348
350
}
349
351
350
352
351
- def test_line27 (capsys ):
353
+ def test_line27 (capsys : CaptureFixture [ str ] ):
352
354
do_test (line27 , capsys )
353
355
354
356
@@ -361,7 +363,7 @@ def test_line27(capsys):
361
363
}
362
364
363
365
364
- def test_line28 (capsys ):
366
+ def test_line28 (capsys : CaptureFixture [ str ] ):
365
367
do_test (line28 , capsys )
366
368
367
369
@@ -374,7 +376,7 @@ def test_line28(capsys):
374
376
}
375
377
376
378
377
- def test_line29 (capsys ):
379
+ def test_line29 (capsys : CaptureFixture [ str ] ):
378
380
do_test (line29 , capsys )
379
381
380
382
@@ -387,7 +389,7 @@ def test_line29(capsys):
387
389
}
388
390
389
391
390
- def test_line30 (capsys ):
392
+ def test_line30 (capsys : CaptureFixture [ str ] ):
391
393
do_test (line30 , capsys )
392
394
393
395
@@ -402,5 +404,5 @@ def test_line30(capsys):
402
404
}
403
405
404
406
405
- def test_line31 (capsys ):
407
+ def test_line31 (capsys : CaptureFixture [ str ] ):
406
408
do_test (line31 , capsys )
0 commit comments