@@ -229,6 +229,12 @@ time or change existing behaviors in order to make them less surprising/more use
229
229
removed in pytest-4.0 (`#1684 `_).
230
230
Thanks `@nicoddemus `_ for the PR.
231
231
232
+ * Raise helpful failure message, when requesting parametrized fixture at runtime,
233
+ e.g. with ``request.getfuncargvalue ``. BACKWARD INCOMPAT: Previously these params
234
+ were simply never defined. So a fixture decorated like ``@pytest.fixture(params=[0, 1, 2]) ``
235
+ only ran once. Now a failure is raised. Fixes (`#460 `_). Thanks to
236
+ `@nikratio `_ for bug report, `@RedBeardCode `_ and `@tomviner `_ for the PR.
237
+
232
238
* Passing a command-line string to ``pytest.main() `` is considered deprecated and scheduled
233
239
for removal in pytest-4.0. It is recommended to pass a list of arguments instead (`#1723 `_).
234
240
@@ -238,12 +244,19 @@ time or change existing behaviors in order to make them less surprising/more use
238
244
239
245
* ``optparse `` type usage now triggers DeprecationWarnings (`#1740 `_).
240
246
247
+
241
248
* ``optparse `` backward compatibility supports float/complex types (`#457 `_).
242
249
250
+ * Renamed the pytest ``pdb `` module (plugin) into ``debugging ``.
251
+
243
252
* Better message in case of not using parametrized variable (see `#1539 `_).
244
253
Thanks to `@tramwaj29 `_ for the PR.
245
254
246
- *
255
+ * Updated docstrings with a more uniform style.
256
+
257
+ * Add stderr write for ``pytest.exit(msg) `` during startup. Previously the message was never shown.
258
+ Thanks `@BeyondEvil `_ for reporting `#1210 `_. Thanks to `@JonathonSonesen `_ and
259
+ `@tomviner `_ for PR.
247
260
248
261
*
249
262
@@ -271,7 +284,18 @@ time or change existing behaviors in order to make them less surprising/more use
271
284
identify bugs in ``conftest.py `` files (`#1516 `_). Thanks `@txomon `_ for
272
285
the PR.
273
286
274
- *
287
+ * Add an 'E' to the first line of error messages from FixtureLookupErrorRepr.
288
+ Fixes `#717 `_. Thanks `@blueyed `_ for reporting, `@eolo999 `_ for the PR
289
+ and `@tomviner `_ for his guidance during EuroPython2016 sprint.
290
+
291
+ * Text documents without any doctests no longer appear as "skipped".
292
+ Thanks `@graingert `_ for reporting and providing a full PR (`#1580 `_).
293
+
294
+ * Fixed collection of classes with custom ``__new__ `` method.
295
+ Fixes `#1579 `_. Thanks to `@Stranger6667 `_ for the PR.
296
+
297
+ * Fixed scope overriding inside metafunc.parametrize (`#634 `_).
298
+ Thanks to `@Stranger6667 `_ for the PR.
275
299
276
300
*
277
301
@@ -281,12 +305,7 @@ time or change existing behaviors in order to make them less surprising/more use
281
305
282
306
*
283
307
284
- .. _#372 : https://github.com/pytest-dev/pytest/issues/372
285
- .. _#460 : https://github.com/pytest-dev/pytest/pull/460
286
- .. _#457 : https://github.com/pytest-dev/pytest/issues/457
287
- .. _#1740 : https://github.com/pytest-dev/pytest/issues/1740
288
- .. _#607 : https://github.com/pytest-dev/pytest/issues/607
289
- .. _#925 : https://github.com/pytest-dev/pytest/issues/925
308
+ .. _#1210 : https://github.com/pytest-dev/pytest/issues/1210
290
309
.. _#1235 : https://github.com/pytest-dev/pytest/issues/1235
291
310
.. _#1351 : https://github.com/pytest-dev/pytest/issues/1351
292
311
.. _#1421 : https://github.com/pytest-dev/pytest/issues/1421
@@ -305,42 +324,52 @@ time or change existing behaviors in order to make them less surprising/more use
305
324
.. _#1519 : https://github.com/pytest-dev/pytest/pull/1519
306
325
.. _#1520 : https://github.com/pytest-dev/pytest/pull/1520
307
326
.. _#1526 : https://github.com/pytest-dev/pytest/pull/1526
327
+ .. _#1539 : https://github.com/pytest-dev/pytest/issues/1539
308
328
.. _#1544 : https://github.com/pytest-dev/pytest/issues/1544
309
329
.. _#1553 : https://github.com/pytest-dev/pytest/issues/1553
310
330
.. _#1562 : https://github.com/pytest-dev/pytest/issues/1562
331
+ .. _#1579 : https://github.com/pytest-dev/pytest/issues/1579
311
332
.. _#1580 : https://github.com/pytest-dev/pytest/pull/1580
312
333
.. _#1597 : https://github.com/pytest-dev/pytest/pull/1597
313
334
.. _#1605 : https://github.com/pytest-dev/pytest/issues/1605
314
335
.. _#1616 : https://github.com/pytest-dev/pytest/pull/1616
315
336
.. _#1618 : https://github.com/pytest-dev/pytest/issues/1618
316
337
.. _#1619 : https://github.com/pytest-dev/pytest/issues/1619
317
338
.. _#1626 : https://github.com/pytest-dev/pytest/pull/1626
318
- .. _#1668 : https://github.com/pytest-dev/pytest/issues/1668
319
339
.. _#1627 : https://github.com/pytest-dev/pytest/pull/1627
320
340
.. _#1628 : https://github.com/pytest-dev/pytest/pull/1628
321
341
.. _#1629 : https://github.com/pytest-dev/pytest/issues/1629
322
342
.. _#1632 : https://github.com/pytest-dev/pytest/issues/1632
323
343
.. _#1633 : https://github.com/pytest-dev/pytest/pull/1633
324
344
.. _#1664 : https://github.com/pytest-dev/pytest/pull/1664
345
+ .. _#1668 : https://github.com/pytest-dev/pytest/issues/1668
325
346
.. _#1684 : https://github.com/pytest-dev/pytest/pull/1684
326
347
.. _#1723 : https://github.com/pytest-dev/pytest/pull/1723
327
- .. _#1539 : https://github.com/pytest-dev/pytest/issues/1539
348
+ .. _#1740 : https://github.com/pytest-dev/pytest/issues/1740
328
349
.. _#1749 : https://github.com/pytest-dev/pytest/issues/1749
350
+ .. _#372 : https://github.com/pytest-dev/pytest/issues/372
351
+ .. _#457 : https://github.com/pytest-dev/pytest/issues/457
352
+ .. _#460 : https://github.com/pytest-dev/pytest/pull/460
353
+ .. _#607 : https://github.com/pytest-dev/pytest/issues/607
354
+ .. _#634 : https://github.com/pytest-dev/pytest/issues/634
355
+ .. _#717 : https://github.com/pytest-dev/pytest/issues/717
356
+ .. _#925 : https://github.com/pytest-dev/pytest/issues/925
329
357
330
- .. _@DRMacIver : https://github.com/DRMacIver
331
- .. _@RedBeardCode : https://github.com/RedBeardCode
332
- .. _@Vogtinator : https://github.com/Vogtinator
333
358
.. _@anntzer : https://github.com/anntzer
334
359
.. _@bagerard : https://github.com/bagerard
360
+ .. _@BeyondEvil : https://github.com/BeyondEvil
335
361
.. _@blueyed : https://github.com/blueyed
336
362
.. _@ceridwen : https://github.com/ceridwen
337
363
.. _@csaftoiu : https://github.com/csaftoiu
338
364
.. _@d6e : https://github.com/d6e
339
365
.. _@davehunt : https://github.com/davehunt
366
+ .. _@DRMacIver : https://github.com/DRMacIver
367
+ .. _@eolo999 : https://github.com/eolo999
340
368
.. _@fengxx : https://github.com/fengxx
341
369
.. _@flub : https://github.com/flub
342
370
.. _@graingert : https://github.com/graingert
343
371
.. _@hartym : https://github.com/hartym
372
+ .. _@JonathonSonesen : https://github.com/JonathonSonesen
344
373
.. _@kalekundert : https://github.com/kalekundert
345
374
.. _@kvas-it : https://github.com/kvas-it
346
375
.. _@marscher : https://github.com/marscher
@@ -353,12 +382,16 @@ time or change existing behaviors in order to make them less surprising/more use
353
382
.. _@olegpidsadnyi : https://github.com/olegpidsadnyi
354
383
.. _@omarkohl : https://github.com/omarkohl
355
384
.. _@palaviv : https://github.com/palaviv
385
+ .. _@RedBeardCode : https://github.com/RedBeardCode
356
386
.. _@sallner : https://github.com/sallner
357
387
.. _@sober7 : https://github.com/sober7
388
+ .. _@Stranger6667 : https://github.com/Stranger6667
358
389
.. _@tareqalayan : https://github.com/tareqalayan
359
390
.. _@taschini : https://github.com/taschini
360
- .. _@txomon : https://github.com/txomon
361
391
.. _@tramwaj29 : https://github.com/tramwaj29
392
+ .. _@txomon : https://github.com/txomon
393
+ .. _@Vogtinator : https://github.com/Vogtinator
394
+
362
395
363
396
2.9.2
364
397
=====
@@ -392,8 +425,8 @@ time or change existing behaviors in order to make them less surprising/more use
392
425
393
426
.. _#510 : https://github.com/pytest-dev/pytest/issues/510
394
427
.. _#1506 : https://github.com/pytest-dev/pytest/pull/1506
395
- .. _#1496 : https://github.com/pytest-dev/pytest/issue /1496
396
- .. _#1524 : https://github.com/pytest-dev/pytest/issue /1524
428
+ .. _#1496 : https://github.com/pytest-dev/pytest/issues /1496
429
+ .. _#1524 : https://github.com/pytest-dev/pytest/pull /1524
397
430
398
431
.. _@prusse-martin : https://github.com/prusse-martin
399
432
.. _@astraw38 : https://github.com/astraw38
0 commit comments