Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 3.7.1 (2018-08-02)
> =========================
>
> Bug Fixes
> ---------
>
> - `#3473 `_: Raise immediately if ``approx()`` is given an expected value of a type it doesn't understand (e.g. strings, nested dicts, etc.).
>
>
> - `#3712 `_: Correctly represent the dimensions of an numpy array when calling ``repr()`` on ``approx()``.
>
> - `#3742 `_: Fix incompatibility with third party plugins during collection, which produced the error ``object has no attribute '_collectfile'``.
>
> - `#3745 `_: Display the absolute path if ``cache_dir`` is not relative to the ``rootdir`` instead of failing.
>
>
> - `#3747 `_: Fix compatibility problem with plugins and the warning code issued by fixture functions when they are called directly.
>
>
> - `#3748 `_: Fix infinite recursion in ``pytest.approx`` with arrays in ``numpy<1.13``.
>
>
> - `#3757 `_: Pin pathlib2 to ``>=2.2.0`` as we require ``__fspath__`` support.
>
>
> - `#3763 `_: Fix ``TypeError`` when the assertion message is ``bytes`` in python 3.
>
>
> pytest 3.7.0 (2018-07-30)
> =========================
>
> Deprecations and Removals
> -------------------------
>
> - `#2639 `_: ``pytest_namespace`` has been deprecated.
>
> See the documentation for ``pytest_namespace`` hook for suggestions on how to deal
> with this in plugins which use this functionality.
>
>
> - `#3661 `_: Calling a fixture function directly, as opposed to request them in a test function, now issues a ``RemovedInPytest4Warning``. It will be changed into an error in pytest ``4.0``.
>
> This is a great source of confusion to new users, which will often call the fixture functions and request them from test functions interchangeably, which breaks the fixture resolution model.
>
>
>
> Features
> --------
>
> - `#2283 `_: New ``package`` fixture scope: fixtures are finalized when the last test of a *package* finishes. This feature is considered **experimental**, so use it sparingly.
> ... (truncated)
Commits
- [`f7a3f45`](https://github.com/pytest-dev/pytest/commit/f7a3f45a182ed8b4dabb130d2b46d717b006edeb) Preparing release version 3.7.1
- [`4705fd2`](https://github.com/pytest-dev/pytest/commit/4705fd2bbe1da0f153839d11145dc0ab154fc754) Merge pull request [#3765](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3765) from asottile/require_changelog_rst
- [`ca04769`](https://github.com/pytest-dev/pytest/commit/ca0476953e31eab4e5e5a252d5e7cf846ae2d1a7) Merge pull request [#3751](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3751) from nicoddemus/collect-file-bug
- [`7e92930`](https://github.com/pytest-dev/pytest/commit/7e92930fa9c3e11d8502b367a0502b8503c5014b) Merge pull request [#3764](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3764) from asottile/fix_3763
- [`33769d0`](https://github.com/pytest-dev/pytest/commit/33769d0328419636c9f95e84823f3bb180b3977f) Merge pull request [#3754](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3754) from nicoddemus/fix-function-call-warning
- [`5db2e6c`](https://github.com/pytest-dev/pytest/commit/5db2e6c7a1f546bdf92906901c7c6270f21edf9b) Merge pull request [#3761](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3761) from nicoddemus/numpy-recursion-error
- [`804fc40`](https://github.com/pytest-dev/pytest/commit/804fc4063aab3b82055c8341327b519300072d0a) Merge pull request [#3741](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3741) from kalekundert/approx_misc_tweaks
- [`82a2174`](https://github.com/pytest-dev/pytest/commit/82a217486706448211bac62972e92de96214cd03) Fix typo in CHANGELOG
- [`a80e031`](https://github.com/pytest-dev/pytest/commit/a80e031c629b80ee6921482bbb8aa13764a3068b) Enforce that changelog files are .rst
- [`452e5c1`](https://github.com/pytest-dev/pytest/commit/452e5c1cf02dc76900354732627e57300ccaadf2) Fix `TypeError` when the assertion message is `bytes` in python 3.
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.6.1...3.7.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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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 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.6.1 to 3.7.1.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 3.7.1 (2018-08-02) > ========================= > > Bug Fixes > --------- > > - `#3473Commits
- [`f7a3f45`](https://github.com/pytest-dev/pytest/commit/f7a3f45a182ed8b4dabb130d2b46d717b006edeb) Preparing release version 3.7.1 - [`4705fd2`](https://github.com/pytest-dev/pytest/commit/4705fd2bbe1da0f153839d11145dc0ab154fc754) Merge pull request [#3765](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3765) from asottile/require_changelog_rst - [`ca04769`](https://github.com/pytest-dev/pytest/commit/ca0476953e31eab4e5e5a252d5e7cf846ae2d1a7) Merge pull request [#3751](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3751) from nicoddemus/collect-file-bug - [`7e92930`](https://github.com/pytest-dev/pytest/commit/7e92930fa9c3e11d8502b367a0502b8503c5014b) Merge pull request [#3764](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3764) from asottile/fix_3763 - [`33769d0`](https://github.com/pytest-dev/pytest/commit/33769d0328419636c9f95e84823f3bb180b3977f) Merge pull request [#3754](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3754) from nicoddemus/fix-function-call-warning - [`5db2e6c`](https://github.com/pytest-dev/pytest/commit/5db2e6c7a1f546bdf92906901c7c6270f21edf9b) Merge pull request [#3761](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3761) from nicoddemus/numpy-recursion-error - [`804fc40`](https://github.com/pytest-dev/pytest/commit/804fc4063aab3b82055c8341327b519300072d0a) Merge pull request [#3741](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3741) from kalekundert/approx_misc_tweaks - [`82a2174`](https://github.com/pytest-dev/pytest/commit/82a217486706448211bac62972e92de96214cd03) Fix typo in CHANGELOG - [`a80e031`](https://github.com/pytest-dev/pytest/commit/a80e031c629b80ee6921482bbb8aa13764a3068b) Enforce that changelog files are .rst - [`452e5c1`](https://github.com/pytest-dev/pytest/commit/452e5c1cf02dc76900354732627e57300ccaadf2) Fix `TypeError` when the assertion message is `bytes` in python 3. - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.6.1...3.7.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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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 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.