Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 4.0.2 (2018-12-13)
> =========================
>
> Bug Fixes
> ---------
>
> - `#4265 `_: Validate arguments from the ``PYTEST_ADDOPTS`` environment variable and the ``addopts`` ini option separately.
>
>
> - `#4435 `_: Fix ``raises(..., 'code(string)')`` frame filename.
>
>
> - `#4500 `_: When a fixture yields and a log call is made after the test runs, and, if the test is interrupted, capture attributes are ``None``.
>
>
> - `#4538 `_: Raise ``TypeError`` for ``with raises(..., match=)``.
>
>
>
> Improved Documentation
> ----------------------
>
> - `#1495 `_: Document common doctest fixture directory tree structure pitfalls
>
>
> pytest 4.0.1 (2018-11-23)
> =========================
>
> Bug Fixes
> ---------
>
> - `#3952 `_: Display warnings before "short test summary info" again, but still later warnings in the end.
>
>
> - `#4386 `_: Handle uninitialized exceptioninfo in repr/str.
>
>
> - `#4393 `_: Do not create ``.gitignore``/``README.md`` files in existing cache directories.
>
>
> - `#4400 `_: Rearrange warning handling for the yield test errors so the opt-out in 4.0.x correctly works.
>
>
> - `#4405 `_: Fix collection of testpaths with ``--pyargs``.
>
>
> - `#4412 `_: Fix assertion rewriting involving ``Starred`` + side-effects.
>
>
> - `#4425 `_: Ensure we resolve the absolute path when the given ``--basetemp`` is a relative path.
> ... (truncated)
Commits
- [`6c5a115`](https://github.com/pytest-dev/pytest/commit/6c5a1150d46f0392e84d6c9f28ace48d5199ca22) Preparing release version 4.0.2
- [`e03c1f5`](https://github.com/pytest-dev/pytest/commit/e03c1f538fb08b0766d3727e4f74f77f15dfeae4) Merge pull request [#4540](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4540) from asottile/type_error_falsey_match_value
- [`a254ad0`](https://github.com/pytest-dev/pytest/commit/a254ad0436a922cb180015cdaec1bfe1cef8eb07) Raise `TypeError` for `with raises(..., match=)`.
- [`6af674a`](https://github.com/pytest-dev/pytest/commit/6af674a3acb24e2b80617114b4a365597c36d8cd) Merge pull request [#4520](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4520) from blueyed/PYTEST_DISABLE_PLUGIN_AUTOLOAD-del
- [`22345ef`](https://github.com/pytest-dev/pytest/commit/22345ef722efe31f0daaef633482f846665970a7) Merge pull request [#4525](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4525) from blueyed/fix-test_raises_exception_looks_iterable
- [`5ecbb02`](https://github.com/pytest-dev/pytest/commit/5ecbb02ace74d0bcb49226c59060f04df9dc2b31) tests: fix test_raises_exception_looks_iterable
- [`abb0dfc`](https://github.com/pytest-dev/pytest/commit/abb0dfcfa36cf358196f1daa55fb45ab23d57b07) Merge pull request [#4523](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4523) from blueyed/addopts-separate
- [`f3babf1`](https://github.com/pytest-dev/pytest/commit/f3babf13ea819b36ae691279ef296927e5c56469) Ensure that PYTEST_ADDOPTS are valid by themselves
- [`64ee1ee`](https://github.com/pytest-dev/pytest/commit/64ee1ee81b634ea5a1d4dc1914a18347973ee882) tests: fix tests that require PYTEST_DISABLE_PLUGIN_AUTOLOAD to be unset
- [`818aa4d`](https://github.com/pytest-dev/pytest/commit/818aa4d34329b5091addffd1f5f4682a8aab74d2) Merge pull request [#4509](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4509) from Tadaboody/doc_doctest_fixture_pitfall_1495
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.5.1...4.0.2)
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 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.
Bumps pytest from 3.5.1 to 4.0.2.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.0.2 (2018-12-13) > ========================= > > Bug Fixes > --------- > > - `#4265Commits
- [`6c5a115`](https://github.com/pytest-dev/pytest/commit/6c5a1150d46f0392e84d6c9f28ace48d5199ca22) Preparing release version 4.0.2 - [`e03c1f5`](https://github.com/pytest-dev/pytest/commit/e03c1f538fb08b0766d3727e4f74f77f15dfeae4) Merge pull request [#4540](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4540) from asottile/type_error_falsey_match_value - [`a254ad0`](https://github.com/pytest-dev/pytest/commit/a254ad0436a922cb180015cdaec1bfe1cef8eb07) Raise `TypeError` for `with raises(..., match=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 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.