Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 4.2.1 (2019-02-12)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#2895](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2895): The `pytest_report_collectionfinish` hook now is also called with `--collect-only`.
> - [\#3899](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3899): Do not raise `UsageError` when an imported package has a `pytest_plugins.py` child module.
> - [\#4347](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4347): Fix output capturing when using pdb++ with recursive debugging.
> - [\#4592](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4592): Fix handling of `collect_ignore` via parent `conftest.py`.
> - [\#4700](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4700): Fix regression where `setUpClass` would always be called in subclasses even if all tests were skipped by a `unittest.skip()` decorator applied in the subclass.
> - [\#4739](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4739): Fix `parametrize(... ids=)` when the function returns non-strings.
> - [\#4745](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4745): Fix/improve collection of args when passing in `__init__.py` and a test file.
> - [\#4770](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4770): `more_itertools` is now constrained to <6.0.0 when required for Python 2.7 compatibility.
> - [\#526](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/526): Fix "ValueError: Plugin already registered" exceptions when running in build directories that symlink to actual source.
>
> Improved Documentation
> ----------------------
>
> - [\#3899](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3899): Add note to `plugins.rst` that `pytest_plugins` should not be used as a name for a user module containing plugins.
> - [\#4324](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4324): Document how to use `raises` and `does_not_raise` to write parametrized tests with conditional raises.
> - [\#4709](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4709): Document how to customize test failure messages when using `pytest.warns`.
>
> Trivial/Internal Changes
> ------------------------
>
> - [\#4741](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4741): Some verbosity related attributes of the TerminalReporter plugin are now read only properties.
>
> pytest 4.2.0 (2019-01-30)
> =========================
>
> Features
> --------
>
> - [\#3094](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3094): [Classic xunit-style](https://docs.pytest.org/en/latest/xunit_setup.html) functions and methods now obey the scope of *autouse* fixtures.
>
> This fixes a number of surprising issues like `setup_method` being called before session-scoped autouse fixtures (see [\#517](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/517) for an example).
>
> - [\#4627](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4627): Display a message at the end of the test session when running under Python 2.7 and 3.4 that pytest 5.0 will no longer support those Python versions.
> - [\#4660](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4660): The number of *selected* tests now are also displayed when the `-k` or `-m` flags are used.
> - [\#4688](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4688): `pytest_report_teststatus` hook now can also receive a `config` parameter.
> - [\#4691](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4691): `pytest_terminal_summary` hook now can also receive a `config` parameter.
>
> Bug Fixes
> ---------
>
> - [\#3547](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3547): `--junitxml` can emit XML compatible with Jenkins xUnit. `junit_family` INI option accepts `legacy|xunit1`, which produces old style output, and `xunit2` that conforms more strictly to
> - [\#4280](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4280): Improve quitting from pdb, especially with `--trace`.
>
> Using `q[quit]` after `pdb.set_trace()` will quit pytest also.
> ... (truncated)
Commits
- [`82cc3d8`](https://github.com/pytest-dev/pytest/commit/82cc3d8cc209b05edecbab8ffc8bf7565e862ce7) Preparing release version 4.2.1
- [`e20e376`](https://github.com/pytest-dev/pytest/commit/e20e376881253b69654dbce15430b429e7b54d08) Merge pull request [#4347](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4347) from blueyed/pdb-recursive-capture
- [`8052d01`](https://github.com/pytest-dev/pytest/commit/8052d01a371cfcb68a89889425196a0e88005638) Merge pull request [#4774](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4774) from sambrightman/pin-more_itertools
- [`a800328`](https://github.com/pytest-dev/pytest/commit/a8003286b54c3c332103f5b747bbb8d68c5fa5be) Add CHANGELOG entry for [#4770](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4770)
- [`b4be228`](https://github.com/pytest-dev/pytest/commit/b4be22833067b226fed035c5336e43c12f89a578) Constrain more_itertools for Python 2.7 compatibility
- [`67dd10d`](https://github.com/pytest-dev/pytest/commit/67dd10de26d5ff92a7082aa0fab578b1b7acba8e) Merge pull request [#4763](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4763) from blueyed/lsof
- [`dc8af18`](https://github.com/pytest-dev/pytest/commit/dc8af18a0ecdcc85dcb3367e3278f7649cb53121) Merge pull request [#4745](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4745) from blueyed/test_collect_pkg_init_and_file_in_args
- [`61b9246`](https://github.com/pytest-dev/pytest/commit/61b9246afe1a6aa76d12a62007e716d831432348) Fix/improve handling of pkg init and test file via args
- [`9feb494`](https://github.com/pytest-dev/pytest/commit/9feb4941f4e57b718427892eab0510069ec453d5) pdb: fix capturing with recursive debugging and pdb++
- [`237f690`](https://github.com/pytest-dev/pytest/commit/237f690f8b5e976800676cb5c1c6c06fd30755b6) --lsof: suppress stderr
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.9.2...4.2.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Coverage decreased (-9.9%) to 22.306% when pulling 526b3f40a862036dbb00e3a2ecd714fb12d9d45d on dependabot/pip/pytest-4.2.1 into 30c301c72f100af3db01820bafacc9f62a20784b on master.
Bumps pytest from 3.9.2 to 4.2.1.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.2.1 (2019-02-12) > ========================= > > Bug Fixes > --------- > > - [\#2895](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2895): The `pytest_report_collectionfinish` hook now is also called with `--collect-only`. > - [\#3899](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3899): Do not raise `UsageError` when an imported package has a `pytest_plugins.py` child module. > - [\#4347](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4347): Fix output capturing when using pdb++ with recursive debugging. > - [\#4592](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4592): Fix handling of `collect_ignore` via parent `conftest.py`. > - [\#4700](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4700): Fix regression where `setUpClass` would always be called in subclasses even if all tests were skipped by a `unittest.skip()` decorator applied in the subclass. > - [\#4739](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4739): Fix `parametrize(... ids=Commits
- [`82cc3d8`](https://github.com/pytest-dev/pytest/commit/82cc3d8cc209b05edecbab8ffc8bf7565e862ce7) Preparing release version 4.2.1 - [`e20e376`](https://github.com/pytest-dev/pytest/commit/e20e376881253b69654dbce15430b429e7b54d08) Merge pull request [#4347](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4347) from blueyed/pdb-recursive-capture - [`8052d01`](https://github.com/pytest-dev/pytest/commit/8052d01a371cfcb68a89889425196a0e88005638) Merge pull request [#4774](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4774) from sambrightman/pin-more_itertools - [`a800328`](https://github.com/pytest-dev/pytest/commit/a8003286b54c3c332103f5b747bbb8d68c5fa5be) Add CHANGELOG entry for [#4770](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4770) - [`b4be228`](https://github.com/pytest-dev/pytest/commit/b4be22833067b226fed035c5336e43c12f89a578) Constrain more_itertools for Python 2.7 compatibility - [`67dd10d`](https://github.com/pytest-dev/pytest/commit/67dd10de26d5ff92a7082aa0fab578b1b7acba8e) Merge pull request [#4763](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4763) from blueyed/lsof - [`dc8af18`](https://github.com/pytest-dev/pytest/commit/dc8af18a0ecdcc85dcb3367e3278f7649cb53121) Merge pull request [#4745](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4745) from blueyed/test_collect_pkg_init_and_file_in_args - [`61b9246`](https://github.com/pytest-dev/pytest/commit/61b9246afe1a6aa76d12a62007e716d831432348) Fix/improve handling of pkg init and test file via args - [`9feb494`](https://github.com/pytest-dev/pytest/commit/9feb4941f4e57b718427892eab0510069ec453d5) pdb: fix capturing with recursive debugging and pdb++ - [`237f690`](https://github.com/pytest-dev/pytest/commit/237f690f8b5e976800676cb5c1c6c06fd30755b6) --lsof: suppress stderr - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.9.2...4.2.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.