diff --git a/changelog/1478.feature b/changelog/1478.feature deleted file mode 100644 index defc79b9b..000000000 --- a/changelog/1478.feature +++ /dev/null @@ -1 +0,0 @@ -New ``--show-capture`` command-line option that allows to specify how to display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default). diff --git a/changelog/1642.feature.rst b/changelog/1642.feature.rst deleted file mode 100644 index cb40bee75..000000000 --- a/changelog/1642.feature.rst +++ /dev/null @@ -1 +0,0 @@ -New ``--rootdir`` command-line option to override the rules for discovering the root directory. See `customize `_ in the documentation for details. diff --git a/changelog/1713.doc.rst b/changelog/1713.doc.rst deleted file mode 100644 index 291ee3c74..000000000 --- a/changelog/1713.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Added a `reference `_ page to the docs. diff --git a/changelog/2370.bugfix.rst b/changelog/2370.bugfix.rst deleted file mode 100644 index 937acb471..000000000 --- a/changelog/2370.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Suppress ``IOError`` when closing the temporary file used for capturing streams in Python 2.7. diff --git a/changelog/2405.feature.rst b/changelog/2405.feature.rst deleted file mode 100644 index b041c1328..000000000 --- a/changelog/2405.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Fixtures are now instantiated based on their scopes, with higher-scoped fixtures (such as ``session``) being instantiated first than lower-scoped fixtures (such as ``function``). The relative order of fixtures of the same scope is kept unchanged, based in their declaration order and their dependencies. diff --git a/changelog/2770.feature b/changelog/2770.feature deleted file mode 100644 index 248f2893d..000000000 --- a/changelog/2770.feature +++ /dev/null @@ -1,2 +0,0 @@ -``record_xml_property`` renamed to ``record_property`` and is now compatible with xdist, markers and any reporter. -``record_xml_property`` name is now deprecated. diff --git a/changelog/2770.removal.rst b/changelog/2770.removal.rst deleted file mode 100644 index 0e38009ab..000000000 --- a/changelog/2770.removal.rst +++ /dev/null @@ -1 +0,0 @@ -``record_xml_property`` fixture is now deprecated in favor of the more generic ``record_property``. \ No newline at end of file diff --git a/changelog/3034.feature b/changelog/3034.feature deleted file mode 100644 index 12330cdd6..000000000 --- a/changelog/3034.feature +++ /dev/null @@ -1 +0,0 @@ -New ``--nf``, ``--new-first`` options: run new tests first followed by the rest of the tests, in both cases tests are also sorted by the file modified time, with more recent files coming first. diff --git a/changelog/3084.removal b/changelog/3084.removal deleted file mode 100644 index 52bf7ed91..000000000 --- a/changelog/3084.removal +++ /dev/null @@ -1 +0,0 @@ -Defining ``pytest_plugins`` is now deprecated in non-top-level conftest.py files, because they "leak" to the entire directory tree. diff --git a/changelog/3139.feature b/changelog/3139.feature deleted file mode 100644 index 39ac0bb75..000000000 --- a/changelog/3139.feature +++ /dev/null @@ -1 +0,0 @@ -New ``--last-failed-no-failures`` command-line option that allows to specify the behavior of the cache plugin's ```--last-failed`` feature when no tests failed in the last run (or no cache was found): ``none`` or ``all`` (the default). diff --git a/changelog/3149.feature b/changelog/3149.feature deleted file mode 100644 index 0431f76ce..000000000 --- a/changelog/3149.feature +++ /dev/null @@ -1 +0,0 @@ -New ``--doctest-continue-on-failure`` command-line option to enable doctests to show multiple failures for each snippet, instead of stopping at the first failure. diff --git a/changelog/3156.feature b/changelog/3156.feature deleted file mode 100644 index 125605b38..000000000 --- a/changelog/3156.feature +++ /dev/null @@ -1 +0,0 @@ -Captured log messages are added to the ```` tag in the generated junit xml file if the ``junit_logging`` ini option is set to ``system-out``. If the value of this ini option is ``system-err`, the logs are written to ````. The default value for ``junit_logging`` is ``no``, meaning captured logs are not written to the output file. diff --git a/changelog/3189.feature b/changelog/3189.feature deleted file mode 100644 index d35789b1f..000000000 --- a/changelog/3189.feature +++ /dev/null @@ -1 +0,0 @@ -Allow the logging plugin to handle ``pytest_runtest_logstart`` and ``pytest_runtest_logfinish`` hooks when live logs are enabled. diff --git a/changelog/3190.feature b/changelog/3190.feature deleted file mode 100644 index 95bb5e39b..000000000 --- a/changelog/3190.feature +++ /dev/null @@ -1 +0,0 @@ -Passing `--log-cli-level` in the command-line now automatically activates live logging. diff --git a/changelog/3198.feature.rst b/changelog/3198.feature.rst deleted file mode 100644 index 3c7838302..000000000 --- a/changelog/3198.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add command line option ``--deselect`` to allow deselection of individual tests at collection time. diff --git a/changelog/3204.feature b/changelog/3204.feature deleted file mode 100644 index 8ab129a12..000000000 --- a/changelog/3204.feature +++ /dev/null @@ -1 +0,0 @@ -Captured logs are printed before entering pdb. diff --git a/changelog/3213.feature b/changelog/3213.feature deleted file mode 100644 index 1b25793a7..000000000 --- a/changelog/3213.feature +++ /dev/null @@ -1 +0,0 @@ -Deselected item count is now shown before tests are run, e.g. ``collected X items / Y deselected``. diff --git a/changelog/3228.trivial.rst b/changelog/3228.trivial.rst deleted file mode 100644 index 8b69e25b4..000000000 --- a/changelog/3228.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Change minimum requirement of ``attrs`` to ``17.4.0``. diff --git a/changelog/3236.feature.rst b/changelog/3236.feature.rst deleted file mode 100644 index 0fd9c9b58..000000000 --- a/changelog/3236.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The builtin module ``platform`` is now available for use in expressions in ``pytest.mark``. diff --git a/changelog/3245.trivial.rst b/changelog/3245.trivial.rst deleted file mode 100644 index 0b93dc675..000000000 --- a/changelog/3245.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Renamed example directories so all tests pass when ran from the base directory. \ No newline at end of file diff --git a/changelog/3246.trival.rst b/changelog/3246.trival.rst deleted file mode 100644 index 58e13a1dd..000000000 --- a/changelog/3246.trival.rst +++ /dev/null @@ -1 +0,0 @@ -Remove usage of deprecated ``metafunc.addcall`` in our own tests. diff --git a/changelog/3250.trivial.rst b/changelog/3250.trivial.rst deleted file mode 100644 index a80bac513..000000000 --- a/changelog/3250.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Internal ``mark.py`` module has been turned into a package. diff --git a/changelog/3255.feature.rst b/changelog/3255.feature.rst deleted file mode 100644 index d4994740d..000000000 --- a/changelog/3255.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The *short test summary info* section now is displayed after tracebacks and warnings in the terminal. diff --git a/changelog/3265.trivial.rst b/changelog/3265.trivial.rst deleted file mode 100644 index b4ad22ecf..000000000 --- a/changelog/3265.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -``pytest`` now depends on the `more_itertools `_ package. diff --git a/changelog/3268.trivial b/changelog/3268.trivial deleted file mode 100644 index 1cfb3ff10..000000000 --- a/changelog/3268.trivial +++ /dev/null @@ -1 +0,0 @@ -Added warning when ``[pytest]`` section is used in a ``.cfg`` file passed with ``-c`` diff --git a/changelog/3291.trivial.rst b/changelog/3291.trivial.rst deleted file mode 100644 index a2e65c2d7..000000000 --- a/changelog/3291.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -``nodeids`` can now be passed explicitly to ``FSCollector`` and ``Node`` constructors. diff --git a/changelog/3292.trivial.rst b/changelog/3292.trivial.rst deleted file mode 100644 index 0e60e3431..000000000 --- a/changelog/3292.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Internal refactoring of ``FormattedExcinfo`` to use ``attrs`` facilities and remove old support code for legacy Python versions. diff --git a/changelog/3296.feature b/changelog/3296.feature deleted file mode 100644 index dde6b78ea..000000000 --- a/changelog/3296.feature +++ /dev/null @@ -1 +0,0 @@ -New ``--verbosity`` flag to set verbosity level explicitly. \ No newline at end of file diff --git a/changelog/3296.trivial b/changelog/3296.trivial deleted file mode 100644 index 7b5b4e1b4..000000000 --- a/changelog/3296.trivial +++ /dev/null @@ -1 +0,0 @@ -Refactoring to unify how verbosity is handled internally. \ No newline at end of file diff --git a/changelog/3297.bugfix.rst b/changelog/3297.bugfix.rst deleted file mode 100644 index f3cbc2c9c..000000000 --- a/changelog/3297.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed ``clear()`` method on ``caplog`` fixture which cleared ``records``, -but not the ``text`` property. \ No newline at end of file diff --git a/changelog/3304.trivial b/changelog/3304.trivial deleted file mode 100644 index 6e66a1e13..000000000 --- a/changelog/3304.trivial +++ /dev/null @@ -1 +0,0 @@ -Internal refactoring to better integrate with argparse. \ No newline at end of file diff --git a/changelog/3308.trivial.rst b/changelog/3308.trivial.rst deleted file mode 100644 index 693384836..000000000 --- a/changelog/3308.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a python example when calling a fixture in doc/en/usage.rst diff --git a/changelog/3312.feature b/changelog/3312.feature deleted file mode 100644 index ffb4df8e9..000000000 --- a/changelog/3312.feature +++ /dev/null @@ -1 +0,0 @@ -``pytest.approx`` now accepts comparing a numpy array with a scalar. diff --git a/changelog/3314.bugfix.rst b/changelog/3314.bugfix.rst deleted file mode 100644 index 4b671ec21..000000000 --- a/changelog/3314.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -During test collection, when stdin is not allowed to be read, the -``DontReadFromStdin`` object still allow itself to be iterable and -resolved to an iterator without crashing.