Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 4.1.1 (2019-01-12)
> =========================
>
> Bug Fixes
> ---------
>
> - `#2256 `_: Show full repr with ``assert a==b`` and ``-vv``.
>
>
> - `#3456 `_: Extend Doctest-modules to ignore mock objects.
>
>
> - `#4617 `_: Fixed ``pytest.warns`` bug when context manager is reused (e.g. multiple parametrization).
>
>
> - `#4631 `_: Don't rewrite assertion when ``__getattr__`` is broken
>
>
>
> Improved Documentation
> ----------------------
>
> - `#3375 `_: Document that using ``setup.cfg`` may crash other tools or cause hard to track down problems because it uses a different parser than ``pytest.ini`` or ``tox.ini`` files.
>
>
>
> Trivial/Internal Changes
> ------------------------
>
> - `#4602 `_: Uninstall ``hypothesis`` in regen tox env.
>
>
> pytest 4.1.0 (2019-01-05)
> =========================
>
> Removals
> --------
>
> - `#2169 `_: ``pytest.mark.parametrize``: in previous versions, errors raised by id functions were suppressed and changed into warnings. Now the exceptions are propagated, along with a pytest message informing the node, parameter value and index where the exception occurred.
>
>
> - `#3078 `_: Remove legacy internal warnings system: ``config.warn``, ``Node.warn``. The ``pytest_logwarning`` now issues a warning when implemented.
>
> See our `docs `__ on information on how to update your code.
>
>
> - `#3079 `_: Removed support for yield tests - they are fundamentally broken because they don't support fixtures properly since collection and test execution were separated.
>
> See our `docs `__ on information on how to update your code.
>
> ... (truncated)
Commits
- [`34eeda1`](https://github.com/pytest-dev/pytest/commit/34eeda1c09074ade61944bb5b8af326c18157a0b) Preparing release version 4.1.1
- [`3efb26a`](https://github.com/pytest-dev/pytest/commit/3efb26ae7f3997aba1219b1c56fc6494edabf232) Merge pull request [#4632](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4632) from AnjoMan/dont-rewrite-objects-with-failing-getattr
- [`77da4f1`](https://github.com/pytest-dev/pytest/commit/77da4f118c81a6c28b4be0f931fa4d8bd512fb69) Add changelog 4631 and AUTHOR credits for Anton Lodder
- [`3241fc3`](https://github.com/pytest-dev/pytest/commit/3241fc31030cc2d9cc9870fb388fabcab541fbe5) Don't fail if hasattr fails when rewriting assertions
- [`acb3e8e`](https://github.com/pytest-dev/pytest/commit/acb3e8e8a797a1fd321322d27114ef15ff99d440) Test rewriting assertion when __name__ fails
- [`5f16ff3`](https://github.com/pytest-dev/pytest/commit/5f16ff3acc4f1f2b4b7390d1432986344f97e437) Merge pull request [#4212](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4212) from RonnyPfannschmidt/doctest-testmod-has-call
- [`71a7452`](https://github.com/pytest-dev/pytest/commit/71a745270ad289c1dcbe365dd743db0967b1d8cd) Merge pull request [#4607](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4607) from oscarbenjamin/long_output
- [`a6988aa`](https://github.com/pytest-dev/pytest/commit/a6988aa0b92c93bfd397d6b788249488b8f5d300) fix doctest module when a mock object is around
- [`2359663`](https://github.com/pytest-dev/pytest/commit/23596634372afb210b3c25dc3c76fdd7cce2a0bb) Merge pull request [#4622](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4622) from nicoddemus/warningschecker-unittest
- [`bace285`](https://github.com/pytest-dev/pytest/commit/bace28517e1317effc725bd5db2b27ca16161c16) Merge pull request [#4626](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4626) from nicoddemus/goodpractices-pythonpath
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.0.2...4.1.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.
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 4.0.2 to 4.1.1.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.1.1 (2019-01-12) > ========================= > > Bug Fixes > --------- > > - `#2256Commits
- [`34eeda1`](https://github.com/pytest-dev/pytest/commit/34eeda1c09074ade61944bb5b8af326c18157a0b) Preparing release version 4.1.1 - [`3efb26a`](https://github.com/pytest-dev/pytest/commit/3efb26ae7f3997aba1219b1c56fc6494edabf232) Merge pull request [#4632](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4632) from AnjoMan/dont-rewrite-objects-with-failing-getattr - [`77da4f1`](https://github.com/pytest-dev/pytest/commit/77da4f118c81a6c28b4be0f931fa4d8bd512fb69) Add changelog 4631 and AUTHOR credits for Anton Lodder - [`3241fc3`](https://github.com/pytest-dev/pytest/commit/3241fc31030cc2d9cc9870fb388fabcab541fbe5) Don't fail if hasattr fails when rewriting assertions - [`acb3e8e`](https://github.com/pytest-dev/pytest/commit/acb3e8e8a797a1fd321322d27114ef15ff99d440) Test rewriting assertion when __name__ fails - [`5f16ff3`](https://github.com/pytest-dev/pytest/commit/5f16ff3acc4f1f2b4b7390d1432986344f97e437) Merge pull request [#4212](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4212) from RonnyPfannschmidt/doctest-testmod-has-call - [`71a7452`](https://github.com/pytest-dev/pytest/commit/71a745270ad289c1dcbe365dd743db0967b1d8cd) Merge pull request [#4607](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4607) from oscarbenjamin/long_output - [`a6988aa`](https://github.com/pytest-dev/pytest/commit/a6988aa0b92c93bfd397d6b788249488b8f5d300) fix doctest module when a mock object is around - [`2359663`](https://github.com/pytest-dev/pytest/commit/23596634372afb210b3c25dc3c76fdd7cce2a0bb) Merge pull request [#4622](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4622) from nicoddemus/warningschecker-unittest - [`bace285`](https://github.com/pytest-dev/pytest/commit/bace28517e1317effc725bd5db2b27ca16161c16) Merge pull request [#4626](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4626) from nicoddemus/goodpractices-pythonpath - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.0.2...4.1.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
.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.