Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 3.8.1 (2018-09-22)
> =========================
>
> Bug Fixes
> ---------
>
> - `#3286 `_: ``.pytest_cache`` directory is now automatically ignored by Git. Users who would like to contribute a solution for other SCMs please consult/comment on this issue.
>
>
> - `#3749 `_: Fix the following error during collection of tests inside packages::
>
> TypeError: object of type 'Package' has no len()
>
>
> - `#3941 `_: Fix bug where indirect parametrization would consider the scope of all fixtures used by the test function to determine the parametrization scope, and not only the scope of the fixtures being parametrized.
>
>
> - `#3973 `_: Fix crash of the assertion rewriter if a test changed the current working directory without restoring it afterwards.
>
>
> - `#3998 `_: Fix issue that prevented some caplog properties (for example ``record_tuples``) from being available when entering the debugger with ``--pdb``.
>
>
> - `#3999 `_: Fix ``UnicodeDecodeError`` in python2.x when a class returns a non-ascii binary ``__repr__`` in an assertion which also contains non-ascii text.
>
>
>
> Improved Documentation
> ----------------------
>
> - `#3996 `_: New `Deprecations and Removals `_ page shows all currently
> deprecated features, the rationale to do so, and alternatives to update your code. It also list features removed
> from pytest in past major releases to help those with ancient pytest versions to upgrade.
>
>
>
> Trivial/Internal Changes
> ------------------------
>
> - `#3955 `_: Improve pre-commit detection for changelog filenames
>
>
> - `#3975 `_: Remove legacy code around im_func as that was python2 only
Commits
- [`3f6a46c`](https://github.com/pytest-dev/pytest/commit/3f6a46c2a47bc29993d07d47139ef101f7aa630f) Preparing release version 3.8.1
- [`4ba3cb2`](https://github.com/pytest-dev/pytest/commit/4ba3cb25b087895b260834a75349c29248d91041) Merge pull request [#4016](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4016) from williamjamir/patch-1
- [`650c458`](https://github.com/pytest-dev/pytest/commit/650c458df9b9386e69c8c66292450a299c27c653) Include Python 3.7 on getting started doc
- [`58aa4f9`](https://github.com/pytest-dev/pytest/commit/58aa4f91f5e124921eba24baef6c62db5d4eb279) Merge pull request [#4012](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4012) from maxalbert/fix-docstring-typo
- [`9b382ed`](https://github.com/pytest-dev/pytest/commit/9b382ed16c72d16357cdc772b47a68634d5946df) Fix typo in docstring
- [`f02dbaf`](https://github.com/pytest-dev/pytest/commit/f02dbaf97fb6be74a439a56128b76872490d0581) Merge pull request [#4010](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4010) from nicoddemus/package-len-error-3749
- [`41f6ea1`](https://github.com/pytest-dev/pytest/commit/41f6ea13cecef7007dd13adc3c6a484b1eed4a20) Fix 'Package has no len()' error during collection
- [`f6eb39d`](https://github.com/pytest-dev/pytest/commit/f6eb39df33f40bf5bd388bbe34dd8589074838c5) Merge pull request [#4001](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4001) from asottile/fix_bytes_repr_text_mix_python_2
- [`7a5e11b`](https://github.com/pytest-dev/pytest/commit/7a5e11bbcf16c4cb9836d61439ff63cff320e19b) Merge pull request [#3997](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3997) from nicoddemus/deprecation-docs
- [`7122fa5`](https://github.com/pytest-dev/pytest/commit/7122fa5613de8ef767eeb8106a5fee6dea0d9285) Fix UnicodeDecodeError in assertion with mixed non-ascii bytes repr + text
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.8.0...3.8.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.
If all status checks pass Dependabot will automatically merge this pull request.
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.8.0 to 3.8.1.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 3.8.1 (2018-09-22) > ========================= > > Bug Fixes > --------- > > - `#3286Commits
- [`3f6a46c`](https://github.com/pytest-dev/pytest/commit/3f6a46c2a47bc29993d07d47139ef101f7aa630f) Preparing release version 3.8.1 - [`4ba3cb2`](https://github.com/pytest-dev/pytest/commit/4ba3cb25b087895b260834a75349c29248d91041) Merge pull request [#4016](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4016) from williamjamir/patch-1 - [`650c458`](https://github.com/pytest-dev/pytest/commit/650c458df9b9386e69c8c66292450a299c27c653) Include Python 3.7 on getting started doc - [`58aa4f9`](https://github.com/pytest-dev/pytest/commit/58aa4f91f5e124921eba24baef6c62db5d4eb279) Merge pull request [#4012](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4012) from maxalbert/fix-docstring-typo - [`9b382ed`](https://github.com/pytest-dev/pytest/commit/9b382ed16c72d16357cdc772b47a68634d5946df) Fix typo in docstring - [`f02dbaf`](https://github.com/pytest-dev/pytest/commit/f02dbaf97fb6be74a439a56128b76872490d0581) Merge pull request [#4010](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4010) from nicoddemus/package-len-error-3749 - [`41f6ea1`](https://github.com/pytest-dev/pytest/commit/41f6ea13cecef7007dd13adc3c6a484b1eed4a20) Fix 'Package has no len()' error during collection - [`f6eb39d`](https://github.com/pytest-dev/pytest/commit/f6eb39df33f40bf5bd388bbe34dd8589074838c5) Merge pull request [#4001](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4001) from asottile/fix_bytes_repr_text_mix_python_2 - [`7a5e11b`](https://github.com/pytest-dev/pytest/commit/7a5e11bbcf16c4cb9836d61439ff63cff320e19b) Merge pull request [#3997](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3997) from nicoddemus/deprecation-docs - [`7122fa5`](https://github.com/pytest-dev/pytest/commit/7122fa5613de8ef767eeb8106a5fee6dea0d9285) Fix UnicodeDecodeError in assertion with mixed non-ascii bytes repr + text - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.8.0...3.8.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
.If all status checks pass Dependabot will automatically merge this pull request.
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.