Age | Commit message (Collapse) | Author |
|
Bumps [django](https://github.com/django/django) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.6...3.1.7)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
runner: a few more tweaks to SetupState
|
|
dependabot/pip/testing/plugins_integration/django-3.1.6
|
|
Bumps [django](https://github.com/django/django) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.5...3.1.6)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/anyio/compare/2.0.2...2.1.0)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
This is the usual terminology we use, and matches better with
`teardown_exact()` and `pytest_runtest_setup()`.
|
|
|
|
|
|
|
|
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.1 to 2.11.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...v2.11.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
|
|
Perform the operations in the order and context in which they can
legally occur.
|
|
Previously the tests (probably unintentionally) mixed a fresh SetupState
and the generated item Session's SetupState, which led to some serious
head scratching when prodding it a bit.
|
|
This will enable a simplification in the next commit.
|
|
remove it
Makes it easier to understand with fewer methods.
|
|
Code is clearer this way.
|
|
It seems the code that would not install pytest's faulthandler support
if it was already enabled is not really needed at all, and even detrimental
when using `python -X dev -m pytest` to run Python in "dev" mode.
Also simplified the plugin by removing the hook class, now the hooks
will always be active so there's no need to delay the hook definitions anymore.
Fix #8258
|
|
|
|
The Twisted Logger will return an invalid file descriptor since it is
not backed by an FD. So, let's also forward this to the same code path
as with `pytest-xdist`.
|
|
It is not very clear why this code exists -- we are not running any
unittest or nose code during collection, and really these frameworks
don't have the concept of collection at all, and just raising these
exceptions at e.g. the module level would cause an error. So unless I'm
missing something, I don't think anyone is using this.
Deprecate it so we can eventually clear up this code and keep unittest
more tightly restricted to its plugin.
|
|
* unittest: cleanup unexpected success handling
* update comment
|
|
pytest-dev/dependabot/pip/testing/plugins_integration/django-3.1.5
build(deps): bump django from 3.1.4 to 3.1.5 in /testing/plugins_integration
|
|
Bumps [django](https://github.com/django/django) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.4...3.1.5)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.4.0...v3.5.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Misc small code improvements
|
|
|
|
Keep knowledge of how the marker is stored encapsulated in one place.
|
|
pytest-dev#8204 migrate tests on testing/code/test_source to tmp_path
|
|
|
|
migrating some tests from tmpdir to tmp_path fixture
|
|
Not smart enough to understand the previous code.
|
|
* Fix failing staticmethod tests if they are inherited
* add comments, set default=None
|
|
christophebedard/add-missing-space-version-option-help-message
Add missing space in '--version' help message
|
|
* [pre-commit.ci] pre-commit autoupdate
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* manual fixes after configuration update
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anthony Sottile <asottile@umich.edu>
|
|
|
|
The type cannot be constructed directly, but is exported for use in type
annotations, since it is reachable through existing public API.
|
|
More py.path -> pathlib conversions
|
|
|
|
The tmpdir fixture (and its factory variant) is soft-deprecated in favor
of the tmp_path fixture.
|
|
inifile is soft-deprecated in favor of inipath.
|
|
|
|
|
|
mark: expose Mark, MarkDecorator, MarkGenerator under pytest for typing purposes
|
|
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.3.1...v3.4.0)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
The type cannot be constructed directly, but is exported for use in type
annotations, since it is reachable through existing public API.
|
|
The type of _initialpaths is `FrozenSet[Path]`.
|
|
|
|
Really it ought to only take the List[str], but for backward
compatibility, at least get rid of the explicit py.path.local check.
|
|
|
|
|