pytest-dev / pytest-mimesis

Mimesis integration with the pytest test runner. This plugin provider useful fixtures based on providers from Mimesis.
https://pypi.org/project/pytest-mimesis/
MIT License
62 stars 4 forks source link

Bump pytest from 4.3.1 to 4.4.0 #55

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps pytest from 4.3.1 to 4.4.0.

Changelog *Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.4.0 (2019-03-29) > ========================= > > Features > -------- > > - [\#2224](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2224): `async` test functions are skipped and a warning is emitted when a suitable async plugin is not installed (such as `pytest-asyncio` or `pytest-trio`). > > Previously `async` functions would not execute at all but still be marked as "passed". > > - [\#2482](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2482): Include new `disable_test_id_escaping_and_forfeit_all_rights_to_community_support` option to disable ascii-escaping in parametrized values. This may cause a series of problems and as the name makes clear, use at your own risk. > - [\#4718](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4718): The `-p` option can now be used to early-load plugins also by entry-point name, instead of just by module name. > > This makes it possible to early load external plugins like `pytest-cov` in the command-line: > > pytest -p pytest_cov > > - [\#4855](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4855): The `--pdbcls` option handles classes via module attributes now (e.g. `pdb:pdb.Pdb` with [pdb++]()), and its validation was improved. > - [\#4875](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4875): The [testpaths](https://docs.pytest.org/en/latest/reference.html#confval-testpaths) configuration option is now displayed next to the `rootdir` and `inifile` lines in the pytest header if the option is in effect, i.e., directories or file names were not explicitly passed in the command line. > > Also, `inifile` is only displayed if there's a configuration file, instead of an empty `inifile:` string. > > - [\#4911](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4911): Doctests can be skipped now dynamically using `pytest.skip()`. > - [\#4920](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4920): Internal refactorings have been made in order to make the implementation of the [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) plugin possible, which adds unittest sub-test support and a new `subtests` fixture as discussed in [\#1367](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1367). > > For details on the internal refactorings, please see the details on the related PR. > > - [\#4931](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4931): pytester's `LineMatcher` asserts that the passed lines are a sequence. > - [\#4936](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4936): Handle `-p plug` after `-p no:plug`. > > This can be used to override a blocked plugin (e.g. in "addopts") from the command line etc. > > - [\#4951](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4951): Output capturing is handled correctly when only capturing via fixtures (capsys, capfs) with `pdb.set_trace()`. > - [\#4956](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4956): `pytester` sets `$HOME` and `$USERPROFILE` to the temporary directory during test runs. > > This ensures to not load configuration files from the real user's home directory. > > - [\#4980](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4980): Namespace packages are handled better with `monkeypatch.syspath_prepend` and `testdir.syspathinsert` (via `pkg_resources.fixup_namespace_packages`). > - [\#4993](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4993): The stepwise plugin reports status information now. > - [\#5008](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5008): If a `setup.cfg` file contains `[tool:pytest]` and also the no longer supported `[pytest]` section, pytest will use `[tool:pytest]` ignoring `[pytest]`. Previously it would unconditionally error out. > > This makes it simpler for plugins to support old pytest versions. > > Bug Fixes > --------- > > - [\#1895](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1895): Fix bug where fixtures requested dynamically via `request.getfixturevalue()` might be teardown before the requesting fixture. > - [\#4851](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4851): pytester unsets `PYTEST_ADDOPTS` now to not use outer options with `testdir.runpytest()`. > - [\#4903](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4903): Use the correct modified time for years after 2038 in rewritten `.pyc` files. > - [\#4928](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4928): Fix line offsets with `ScopeMismatch` errors. > ... (truncated)
Commits - [`4621638`](https://github.com/pytest-dev/pytest/commit/4621638f0703620ccab416a9b1724746da402463) Update CHANGELOG.rst - [`8881b20`](https://github.com/pytest-dev/pytest/commit/8881b201aaba7af6d7db8fba84fa127f11edd7b4) Preparing release version 4.4.0 - [`278b289`](https://github.com/pytest-dev/pytest/commit/278b289f37d756bc24f5b2a0693c518b4dc1c246) Merge pull request [#4968](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4968) from blueyed/pdb-do_debug-quit - [`e7ade06`](https://github.com/pytest-dev/pytest/commit/e7ade066b60f489dec81e8d640ebfb7980a5bc93) Merge pull request [#5011](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5011) from blueyed/merge-master-into-features - [`dee520e`](https://github.com/pytest-dev/pytest/commit/dee520e310d7a066df43fdaefdba4ac2e3f91cb1) Merge pull request [#5008](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5008) from blueyed/setup-cfg-tool-pytest - [`4e931b2`](https://github.com/pytest-dev/pytest/commit/4e931b258d20fec589986432f6f13b62d2912162) Merge master into features - [`4011021`](https://github.com/pytest-dev/pytest/commit/401102182395626e8a00af83e866953a4c78d566) pdb: do not raise outcomes.Exit with quit in debug - [`bfda2a0`](https://github.com/pytest-dev/pytest/commit/bfda2a0050943f0ead1fec3b18a52d32c07f34fa) setup.cfg: use existing [tool:pytest] (ignoring [pytest]) - [`2812c08`](https://github.com/pytest-dev/pytest/commit/2812c087ec79f24f8f454f3ab274b48b119e0871) Merge pull request [#5010](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5010) from garytyler/docupdate - [`6b5cddc`](https://github.com/pytest-dev/pytest/commit/6b5cddc48a194be365bfe3299b405131744f6765) Merge pull request [#4951](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4951) from blueyed/fix-pdb-capfix - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.3.1...4.4.0)


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 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.