|
65 | 65 | ``Config.fromdictargs`` now represents its input much more faithfully.
|
66 | 66 | Thanks to `@bukzor`_ for the complete PR (`#680`_).
|
67 | 67 |
|
68 |
| -* Fix (`#1290`_): support Python 3.5's `@` operator in assertion rewriting. |
| 68 | +* Fix (`#1290`_): support Python 3.5's ``@`` operator in assertion rewriting. |
69 | 69 | Thanks `@Shinkenjoe`_ for report with test case and `@tomviner`_ for the PR.
|
70 | 70 |
|
71 | 71 | * Fix formatting utf-8 explanation messages (`#1379`_).
|
|
321 | 321 | - fix issue768: docstrings found in python modules were not setting up session
|
322 | 322 | fixtures. Thanks Jason R. Coombs for reporting and Bruno Oliveira for the PR.
|
323 | 323 |
|
324 |
| -- added `tmpdir_factory`, a session-scoped fixture that can be used to create |
| 324 | +- added ``tmpdir_factory``, a session-scoped fixture that can be used to create |
325 | 325 | directories under the base temporary directory. Previously this object was
|
326 |
| - installed as a `_tmpdirhandler` attribute of the `config` object, but now it |
327 |
| - is part of the official API and using `config._tmpdirhandler` is |
| 326 | + installed as a ``_tmpdirhandler`` attribute of the ``config`` object, but now it |
| 327 | + is part of the official API and using ``config._tmpdirhandler`` is |
328 | 328 | deprecated.
|
329 | 329 | Thanks Bruno Oliveira for the PR.
|
330 | 330 |
|
|
353 | 353 | or no tests were run at all (related to issue500).
|
354 | 354 | Thanks Eric Siegerman.
|
355 | 355 |
|
356 |
| -- New `testpaths` ini option: list of directories to search for tests |
| 356 | +- New ``testpaths`` ini option: list of directories to search for tests |
357 | 357 | when executing pytest from the root directory. This can be used
|
358 | 358 | to speed up test collection when a project has well specified directories
|
359 | 359 | for tests, being usually more practical than configuring norecursedirs for
|
|
449 | 449 | - issue951: add new record_xml_property fixture, that supports logging
|
450 | 450 | additional information on xml output. Thanks David Diaz for the PR.
|
451 | 451 |
|
452 |
| -- issue949: paths after normal options (for example `-s`, `-v`, etc) are now |
453 |
| - properly used to discover `rootdir` and `ini` files. |
| 452 | +- issue949: paths after normal options (for example ``-s``, ``-v``, etc) are now |
| 453 | + properly used to discover ``rootdir`` and ``ini`` files. |
454 | 454 | Thanks Peter Lauri for the report and Bruno Oliveira for the PR.
|
455 | 455 |
|
456 | 456 | 2.7.3 (compared to 2.7.2)
|
457 | 457 | =============================
|
458 | 458 |
|
459 |
| -- Allow 'dev', 'rc', or other non-integer version strings in `importorskip`. |
| 459 | +- Allow 'dev', 'rc', or other non-integer version strings in ``importorskip``. |
460 | 460 | Thanks to Eric Hunsberger for the PR.
|
461 | 461 |
|
462 | 462 | - fix issue856: consider --color parameter in all outputs (for example
|
463 | 463 | --fixtures). Thanks Barney Gale for the report and Bruno Oliveira for the PR.
|
464 | 464 |
|
465 |
| -- fix issue855: passing str objects as `plugins` argument to pytest.main |
| 465 | +- fix issue855: passing str objects as ``plugins`` argument to pytest.main |
466 | 466 | is now interpreted as a module name to be imported and registered as a
|
467 | 467 | plugin, instead of silently having no effect.
|
468 | 468 | Thanks xmo-odoo for the report and Bruno Oliveira for the PR.
|
@@ -2097,7 +2097,7 @@ v1.1.1
|
2097 | 2097 | - new funcarg: "pytestconfig" is the pytest config object for access
|
2098 | 2098 | to command line args and can now be easily used in a test.
|
2099 | 2099 |
|
2100 |
| -- install 'py.test' and `py.which` with a ``-$VERSION`` suffix to |
| 2100 | +- install ``py.test`` and ``py.which`` with a ``-$VERSION`` suffix to |
2101 | 2101 | disambiguate between Python3, python2.X, Jython and PyPy installed versions.
|
2102 | 2102 |
|
2103 | 2103 | - new "pytestconfig" funcarg allows access to test config object
|
|
0 commit comments