LCTT / Grank

Github 项目活跃度分析工具
GNU General Public License v3.0
231 stars 38 forks source link

Bump pytest from 4.5.0 to 5.1.2 #162

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps pytest from 4.5.0 to 5.1.2.

Release notes *Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 5.1.2 > pytest 5.1.2 (2019-08-30) > ========================= > > Bug Fixes > --------- > > - [\#2270](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2270): Fixed > `self` reference in function-scoped fixtures defined plugin classes: > previously `self` would be a reference to a *test* class, not the > *plugin* class. > - [\#570](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/570): Fixed long > standing issue where fixture scope was not respected when indirect > fixtures were used during parametrization. > - [\#5782](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5782): Fix > decoding error when printing an error response from `--pastebin`. > - [\#5786](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5786): Chained > exceptions in test and collection reports are now correctly > serialized, allowing plugins like `pytest-xdist` to display > them properly. > - [\#5792](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5792): Windows: > Fix error that occurs in certain circumstances when loading > `conftest.py` from a working directory that has casing other than > the one stored in the filesystem (e.g., `c:\test` instead of > `C:\test`). > > ## 5.1.1 > pytest 5.1.1 (2019-08-20) > ========================= > > Bug Fixes > --------- > > - [\#5751](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5751): Fixed > `TypeError` when importing pytest on Python 3.5.0 and 3.5.1. > > ## 5.1.0 > pytest 5.1.0 (2019-08-15) > ========================= > > Removals > -------- > > - [\#5180](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5180): As per > our policy, the following features have been deprecated in the 4.X > series and are now removed: > > - `Request.getfuncargvalue`: use `Request.getfixturevalue` > instead. > - `pytest.raises` and `pytest.warns` no longer support strings as > ... (truncated)
Changelog *Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 5.1.2 (2019-08-30) > ========================= > > Bug Fixes > --------- > > - [\#2270](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2270): Fixed `self` reference in function-scoped fixtures defined plugin classes: previously `self` would be a reference to a *test* class, not the *plugin* class. > - [\#570](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/570): Fixed long standing issue where fixture scope was not respected when indirect fixtures were used during parametrization. > - [\#5782](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5782): Fix decoding error when printing an error response from `--pastebin`. > - [\#5786](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5786): Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like `pytest-xdist` to display them properly. > - [\#5792](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5792): Windows: Fix error that occurs in certain circumstances when loading `conftest.py` from a working directory that has casing other than the one stored in the filesystem (e.g., `c:\test` instead of `C:\test`). > > pytest 5.1.1 (2019-08-20) > ========================= > > Bug Fixes > --------- > > - [\#5751](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5751): Fixed `TypeError` when importing pytest on Python 3.5.0 and 3.5.1. > > pytest 5.1.0 (2019-08-15) > ========================= > > Removals > -------- > > - [\#5180](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5180): As per our policy, the following features have been deprecated in the 4.X series and are now removed: > > - `Request.getfuncargvalue`: use `Request.getfixturevalue` instead. > - `pytest.raises` and `pytest.warns` no longer support strings as the second argument. > - `message` parameter of `pytest.raises`. > - `pytest.raises`, `pytest.warns` and `ParameterSet.param` now use native keyword-only syntax. This might change the exception message from previous versions, but they still raise `TypeError` on unknown keyword arguments as before. > - `pytest.config` global variable. > - `tmpdir_factory.ensuretemp` method. > - `pytest_logwarning` hook. > - `RemovedInPytest4Warning` warning type. > - `request` is now a reserved name for fixtures. > > For more information consult [Deprecations and Removals](https://docs.pytest.org/en/latest/deprecations.html) in the docs. > > - [\#5565](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5565): Removed unused support code for [unittest2](https://pypi.org/project/unittest2/). > > The `unittest2` backport module is no longer necessary since Python 3.3+, and the small amount of code in pytest to support it also doesn't seem to be used: after removed, all tests still pass unchanged. > > Although our policy is to introduce a deprecation period before removing any features or support for third party libraries, because this code is apparently not used at all (even if `unittest2` is used by a test suite executed by pytest), it was decided to remove it in this release. > > If you experience a regression because of this, please [file an issue](https://github.com/pytest-dev/pytest/issues/new). > > - [\#5615](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5615): `pytest.fail`, `pytest.xfail` and `pytest.skip` no longer support bytes for the message argument. > > ... (truncated)
Commits - [`e56544c`](https://github.com/pytest-dev/pytest/commit/e56544cb587e8f288bea12aff01355b31aec92f7) Preparing release version 5.1.2 - [`f9cc704`](https://github.com/pytest-dev/pytest/commit/f9cc704b1a8cf475a02051b747b78897b13a83f7) Replace session duration to a fix value in regendoc - [`bd57307`](https://github.com/pytest-dev/pytest/commit/bd57307a39bc3877f38f802cf6ed9aef22663c1f) Merge pull request [#5768](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5768) from robholt/fixture-class-instance - [`667c646`](https://github.com/pytest-dev/pytest/commit/667c6463ab30b00fb942d6b3cde9f8a4a1693cc6) Merge pull request [#5803](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5803) from nicoddemus/flaky-5795 - [`4e59455`](https://github.com/pytest-dev/pytest/commit/4e594552eb74dc8c0ea891ffe0f01b2c22e0f9f9) Merge pull request [#5798](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5798) from aklajnert/570-indirect-fixtures - [`955dc6d`](https://github.com/pytest-dev/pytest/commit/955dc6d18aca99184db3b5db85b9fb9f497c04a1) Merge remote-tracking branch 'upstream/master' into robholt/fixture-class-ins... - [`3ddbc7f`](https://github.com/pytest-dev/pytest/commit/3ddbc7fb2a63f6ca505f64368d5bd4dd939f0ea9) Improve CHANGELOG and add some comments - [`bb60736`](https://github.com/pytest-dev/pytest/commit/bb60736a6f76276b1a0295dee5cf70c99e2997e7) Run py35 without xdist on Travis - [`35b3b10`](https://github.com/pytest-dev/pytest/commit/35b3b1097ffc576b11cd8ad205103666a90e2344) Improve CHANGELOG and make test easier to understand for [#570](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/570) - [`01082fe`](https://github.com/pytest-dev/pytest/commit/01082fea12649384aab44306f49503de1374c4a1) Serialize/deserialize chained exceptions ([#5787](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5787)) - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.5.0...5.1.2)


Dependabot compatibility score

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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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.
dependabot-preview[bot] commented 5 years ago

Superseded by #163.