Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 3.8.2 (2018-10-02)
> =========================
>
> Deprecations and Removals
> -------------------------
>
> - `#4036 `_: The ``item`` parameter of ``pytest_warning_captured`` hook is now documented as deprecated. We realized only after
> the ``3.8`` release that this parameter is incompatible with ``pytest-xdist``.
>
> Our policy is to not deprecate features during bugfix releases, but in this case we believe it makes sense as we are
> only documenting it as deprecated, without issuing warnings which might potentially break test suites. This will get
> the word out that hook implementers should not use this parameter at all.
>
> In a future release ``item`` will always be ``None`` and will emit a proper warning when a hook implementation
> makes use of it.
>
>
>
> Bug Fixes
> ---------
>
> - `#3539 `_: Fix reload on assertion rewritten modules.
>
>
> - `#4034 `_: The ``.user_properties`` attribute of ``TestReport`` objects is a list
> of (name, value) tuples, but could sometimes be instantiated as a tuple
> of tuples. It is now always a list.
>
>
> - `#4039 `_: No longer issue warnings about using ``pytest_plugins`` in non-top-level directories when using ``--pyargs``: the
> current ``--pyargs`` mechanism is not reliable and might give false negatives.
>
>
> - `#4040 `_: Exclude empty reports for passed tests when ``-rP`` option is used.
>
>
> - `#4051 `_: Improve error message when an invalid Python expression is passed to the ``-m`` option.
>
>
> - `#4056 `_: ``MonkeyPatch.setenv`` and ``MonkeyPatch.delenv`` issue a warning if the environment variable name is not ``str`` on Python 2.
>
> In Python 2, adding ``unicode`` keys to ``os.environ`` causes problems with ``subprocess`` (and possible other modules),
> making this a subtle bug specially susceptible when used with ``from __future__ import unicode_literals``.
>
>
>
> Improved Documentation
> ----------------------
>
> - `#3928 `_: Add possible values for fixture scope to docs.
> ... (truncated)
Commits
- [`d3673c7`](https://github.com/pytest-dev/pytest/commit/d3673c7429f00ac7dfa91180194d43fe9dd99b5c) Preparing release version 3.8.2
- [`25fe370`](https://github.com/pytest-dev/pytest/commit/25fe3706a4c5b327c8050335ea10326a14638e4c) Merge pull request [#4056](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4056) from nicoddemus/unicode-vars
- [`1a323fb`](https://github.com/pytest-dev/pytest/commit/1a323fbd3c52db051ae32e2b27275717b891b322) Show a warning when non-str is given to Monkeypatch.setenv
- [`9d971d3`](https://github.com/pytest-dev/pytest/commit/9d971d33bec34715715bf5c5c269bc73fca00c36) Hide internal pytest.warns traceback
- [`bc009a8`](https://github.com/pytest-dev/pytest/commit/bc009a8582b4787c409528bf9c0d1bc6792d35ce) Fix test to comply with pypy 6.0
- [`5e7d427`](https://github.com/pytest-dev/pytest/commit/5e7d427df1b258b5e4c0f5e1496f0f68545ad4b1) Merge pull request [#4060](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4060) from nicoddemus/4051-changelog
- [`dd59ed3`](https://github.com/pytest-dev/pytest/commit/dd59ed3b18404df695f20815aa4a2d854465d582) Merge pull request [#4059](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4059) from labcodes/documenting-scopes
- [`20d0f0e`](https://github.com/pytest-dev/pytest/commit/20d0f0e56bfa87440920cc4809d1505d975e130f) Improve changelog for [#4051](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4051)
- [`d24a7e6`](https://github.com/pytest-dev/pytest/commit/d24a7e6c5a415ece9ad377d13b20daefc944fdd4) Issue warning if Monkeypatch.setenv/delenv receive non-strings in Python 2
- [`4dc73bd`](https://github.com/pytest-dev/pytest/commit/4dc73bda45b3cbf1bc42429b29943c1557db5a6d) Update changelog
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.8.0...3.8.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.8.0 to 3.8.2.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 3.8.2 (2018-10-02) > ========================= > > Deprecations and Removals > ------------------------- > > - `#4036Commits
- [`d3673c7`](https://github.com/pytest-dev/pytest/commit/d3673c7429f00ac7dfa91180194d43fe9dd99b5c) Preparing release version 3.8.2 - [`25fe370`](https://github.com/pytest-dev/pytest/commit/25fe3706a4c5b327c8050335ea10326a14638e4c) Merge pull request [#4056](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4056) from nicoddemus/unicode-vars - [`1a323fb`](https://github.com/pytest-dev/pytest/commit/1a323fbd3c52db051ae32e2b27275717b891b322) Show a warning when non-str is given to Monkeypatch.setenv - [`9d971d3`](https://github.com/pytest-dev/pytest/commit/9d971d33bec34715715bf5c5c269bc73fca00c36) Hide internal pytest.warns traceback - [`bc009a8`](https://github.com/pytest-dev/pytest/commit/bc009a8582b4787c409528bf9c0d1bc6792d35ce) Fix test to comply with pypy 6.0 - [`5e7d427`](https://github.com/pytest-dev/pytest/commit/5e7d427df1b258b5e4c0f5e1496f0f68545ad4b1) Merge pull request [#4060](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4060) from nicoddemus/4051-changelog - [`dd59ed3`](https://github.com/pytest-dev/pytest/commit/dd59ed3b18404df695f20815aa4a2d854465d582) Merge pull request [#4059](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4059) from labcodes/documenting-scopes - [`20d0f0e`](https://github.com/pytest-dev/pytest/commit/20d0f0e56bfa87440920cc4809d1505d975e130f) Improve changelog for [#4051](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4051) - [`d24a7e6`](https://github.com/pytest-dev/pytest/commit/d24a7e6c5a415ece9ad377d13b20daefc944fdd4) Issue warning if Monkeypatch.setenv/delenv receive non-strings in Python 2 - [`4dc73bd`](https://github.com/pytest-dev/pytest/commit/4dc73bda45b3cbf1bc42429b29943c1557db5a6d) Update changelog - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.8.0...3.8.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.