Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 3.8.0 (2018-09-05)
> =========================
>
> Deprecations and Removals
> -------------------------
>
> - `#2452 `_: ``Config.warn`` has been deprecated, it should be replaced by calls to the standard ``warnings.warn``.
>
> ``Node.warn`` now supports two signatures:
>
> * ``node.warn(PytestWarning("some message"))``: is now the recommended way to call this function. The warning
> instance must be a ``PytestWarning`` or subclass instance.
>
> * ``node.warn("CI", "some message")``: this code/message form is now deprecated and should be converted to
> the warning instance form above.
>
> ``RemovedInPytest4Warning`` and ``PytestExperimentalApiWarning`` are now part of the public API and should be accessed
> using ``pytest.RemovedInPytest4Warning`` and ``pytest.PytestExperimentalApiWarning``.
>
>
> - `#3936 `_: ``[**pytest**](https://github.com/pytest).mark.filterwarnings`` second parameter is no longer regex-escaped,
> making it possible to actually use regular expressions to check the warning message.
>
> **Note**: regex-escaping the match string was an implementation oversight that might break test suites which depend
> on the old behavior.
>
>
>
> Features
> --------
>
> - `#2452 `_: Internal pytest warnings are now issued using the standard ``warnings`` module, making it possible to use
> the standard warnings filters to manage those warnings. This introduces ``PytestWarning``,
> ``PytestDeprecationWarning`` and ``RemovedInPytest4Warning`` warning types as part of the public API.
>
> Consult `the documentation `_ for more info.
>
>
> - `#2908 `_: ``DeprecationWarning`` and ``PendingDeprecationWarning`` are now shown by default if no other warning filter is
> configured. This makes pytest more compliant with
> `PEP-0506 `_. See
> `the docs `_ for
> more info.
>
>
> - `#3251 `_: Warnings are now captured and displayed during test collection.
>
>
> - `#3784 `_: ``PYTEST_DISABLE_PLUGIN_AUTOLOAD`` environment variable disables plugin auto-loading when set.
>
> ... (truncated)
Commits
- [`1f20626`](https://github.com/pytest-dev/pytest/commit/1f2062661826efb5ac4322c17e24db202bf0a147) Preparing release version 3.8.0
- [`69b34f7`](https://github.com/pytest-dev/pytest/commit/69b34f765871a0df23e08fd5f2caa45ff1d8732d) Merge remote-tracking branch 'upstream/master' into release-3.8.0
- [`531b76a`](https://github.com/pytest-dev/pytest/commit/531b76a51346781452ca8fd5387acaa3ef01a592) Merge pull request [#3931](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3931) from nicoddemus/internal-warnings
- [`f63c683`](https://github.com/pytest-dev/pytest/commit/f63c683faa85c2a30b0bb2c584484d9b814a2018) No longer escape regex in pytest.mark.filterwarnings
- [`410d576`](https://github.com/pytest-dev/pytest/commit/410d5762c05cec099c10bbe541e9989c0284017d) Merge pull request [#3919](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3919) from fabioz/master
- [`ddb3084`](https://github.com/pytest-dev/pytest/commit/ddb308455ae615d23bf3a494f84a5059c9ceb979) Make sure warn is called in test_parameterset_extractfrom
- [`f42b501`](https://github.com/pytest-dev/pytest/commit/f42b5019ec3a3c2c12bd5321641950118e812dd9) Make code_or_warning parameter private for backward-compatibility
- [`adc9ed8`](https://github.com/pytest-dev/pytest/commit/adc9ed85bcbfe3c3c499a7a2cf874583508213c1) Fix test_idval_hypothesis
- [`4592def`](https://github.com/pytest-dev/pytest/commit/4592def14d63aa32215bea548c53fc208a88fd10) Improve test_rewarn_functional
- [`2e0a7cf`](https://github.com/pytest-dev/pytest/commit/2e0a7cf78dff53c534bf4aad2841ba8731051773) Revert to having just "runtest" as "when" parameter of the pytest_warning_cap...
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.5.1...3.8.0)
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 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 3.8.0.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 3.8.0 (2018-09-05) > ========================= > > Deprecations and Removals > ------------------------- > > - `#2452Commits
- [`1f20626`](https://github.com/pytest-dev/pytest/commit/1f2062661826efb5ac4322c17e24db202bf0a147) Preparing release version 3.8.0 - [`69b34f7`](https://github.com/pytest-dev/pytest/commit/69b34f765871a0df23e08fd5f2caa45ff1d8732d) Merge remote-tracking branch 'upstream/master' into release-3.8.0 - [`531b76a`](https://github.com/pytest-dev/pytest/commit/531b76a51346781452ca8fd5387acaa3ef01a592) Merge pull request [#3931](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3931) from nicoddemus/internal-warnings - [`f63c683`](https://github.com/pytest-dev/pytest/commit/f63c683faa85c2a30b0bb2c584484d9b814a2018) No longer escape regex in pytest.mark.filterwarnings - [`410d576`](https://github.com/pytest-dev/pytest/commit/410d5762c05cec099c10bbe541e9989c0284017d) Merge pull request [#3919](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3919) from fabioz/master - [`ddb3084`](https://github.com/pytest-dev/pytest/commit/ddb308455ae615d23bf3a494f84a5059c9ceb979) Make sure warn is called in test_parameterset_extractfrom - [`f42b501`](https://github.com/pytest-dev/pytest/commit/f42b5019ec3a3c2c12bd5321641950118e812dd9) Make code_or_warning parameter private for backward-compatibility - [`adc9ed8`](https://github.com/pytest-dev/pytest/commit/adc9ed85bcbfe3c3c499a7a2cf874583508213c1) Fix test_idval_hypothesis - [`4592def`](https://github.com/pytest-dev/pytest/commit/4592def14d63aa32215bea548c53fc208a88fd10) Improve test_rewarn_functional - [`2e0a7cf`](https://github.com/pytest-dev/pytest/commit/2e0a7cf78dff53c534bf4aad2841ba8731051773) Revert to having just "runtest" as "when" parameter of the pytest_warning_cap... - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.5.1...3.8.0)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 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.