summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-23Allow Class.from_parent to forward custom parameters to the constructorFlorian Bruhin
Similarly to #7143, at work we have a project with a custom pytest.Class subclass, adding an additional argument to the constructor. All from_parent implementations in pytest accept and forward *kw, except Class (before this change) and DoctestItem - since I'm not familiar with doctest support, I've left the latter as-is.
2021-02-22Merge pull request #8364 from pytest-dev/pre-commit-ci-update-configBruno Oliveira
[pre-commit.ci] pre-commit autoupdate
2021-02-22Merge pull request #8362 from ↵Bruno Oliveira
pytest-dev/dependabot/pip/testing/plugins_integration/django-3.1.7 build(deps): bump django from 3.1.6 to 3.1.7 in /testing/plugins_integration
2021-02-22Merge pull request #8359 from pytest-dev/update-plugin-list/patch-4964b46Bruno Oliveira
[automated] Update plugin list
2021-02-22[pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]
2021-02-22build(deps): bump django in /testing/plugins_integrationdependabot[bot]
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>
2021-02-21[automated] Update plugin listpytest bot
2021-02-20Merge pull request #8354 from feanil/patch-1Ran Benita
Remove a redundant paragraph
2021-02-19Remove a redundant paragraphFeanil Patel
doc This paragraph looks like it is a more verbose version of the sentence right above it. Removing it doesn't reduce the amount of information here but does make the section flow a little better.
2021-02-18Merge pull request #8351 from vpoulailleau/patch-1Ran Benita
Update number of plugins
2021-02-18Update number of pluginsVincent Poulailleau
According to the source, there are 801 plugins now!
2021-02-18Merge pull request #8349 from maskypy40/patch-1Bruno Oliveira
Removes 2 empty lines from example code
2021-02-17Remove empty lines from code-blockmaskypy40
In assert.rst at line 175 and further there is an example of an assert encountering comparisons. The code-block for this example starts with a comment (line 177) and then it has 2 empty lines. Comparing this example code (test_assert2.py) with the previously mentioned example code on the same page (i.e. test_assert1.py) you can see that there should not be 2 empty lines after the comment. These 2 empty lines are removed.
2021-02-15Merge pull request #8345 from pytest-dev/update-plugin-list/patch-16e21c2Ran Benita
[automated] Update plugin list
2021-02-14[automated] Update plugin listpytest bot
2021-02-11Merge pull request #8336 from sbellem/typos/setup.cfgBruno Oliveira
Remove duplicate '>=' in setup.cfg
2021-02-10Remove duplicate '>=' in setup.cfgSylvain Bellemare
2021-02-08Merge pull request #8329 from pytest-dev/pre-commit-ci-update-configAnthony Sottile
[pre-commit.ci] pre-commit autoupdate
2021-02-08[pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]
2021-02-08Merge pull request #8323 from bluetech/setupstate-refactor-3Ran Benita
runner: a few more tweaks to SetupState
2021-02-08Merge pull request #8326 from ↵Bruno Oliveira
pytest-dev/dependabot/pip/testing/plugins_integration/django-3.1.6 build(deps): bump django from 3.1.5 to 3.1.6 in /testing/plugins_integration
2021-02-08Merge pull request #8324 from pytest-dev/update-plugin-list/patch-bcfe253Bruno Oliveira
[automated] Update plugin list
2021-02-08Merge branch 'master' into ↵Bruno Oliveira
dependabot/pip/testing/plugins_integration/django-3.1.6
2021-02-08Merge pull request #8325 from ↵Bruno Oliveira
pytest-dev/dependabot/pip/testing/plugins_integration/anyio-curiotrio--2.1.0 build(deps): bump anyio[curio,trio] from 2.0.2 to 2.1.0 in /testing/plugins_integration
2021-02-08build(deps): bump django in /testing/plugins_integrationdependabot[bot]
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>
2021-02-08build(deps): bump anyio[curio,trio] in /testing/plugins_integrationdependabot[bot]
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>
2021-02-07Merge pull request #8248 from RonnyPfannschmidt/mixin-mro-positionRonny Pfannschmidt
alter the PyObjMixin to carry over typing information from Node
2021-02-07[automated] Update plugin listpytest bot
2021-02-06runner: add clarifying comments on why runtestprotocol re-inits the ↵Ran Benita
FixtureRequest
2021-02-06runner: rename SetupState.prepare -> setupRan Benita
This is the usual terminology we use, and matches better with `teardown_exact()` and `pytest_runtest_setup()`.
2021-02-06runner: add a safety assert to SetupState.prepareRan Benita
This ensures that the teardown for the previous item was done properly for this (next) item, i.e. there are no leftover teardowns.
2021-02-05Type annotation for request.param (#8319)Pax
2021-02-05Merge pull request #8322 from pytest-dev/fixture-docsBruno Oliveira
doc: Remove confusing fixture sentence
2021-02-05doc: Remove confusing fixture sentenceFlorian Bruhin
There is no previous `test_ehlo` example (it follows much later) - and the same thing is described further down in ""Requesting" fixtures" already.
2021-02-05Merge pull request #8320 from nicoddemus/change-update-plugins-cronBruno Oliveira
Update plugin-list every Sunday instead of everyday
2021-02-05Update plugin-list every Sunday instead of everydayBruno Oliveira
Every day seems a bit excessive lately, let's make it less frequent.
2021-02-04Merge pull request #8318 from pytest-dev/update-plugin-list/patch-b3115c1Bruno Oliveira
[automated] Update plugin list
2021-02-05[automated] Update plugin listpytest bot
2021-02-05Merge pull request #8315 from bluetech/parser-proper-deprecationRan Benita
config/argparsing: use proper deprecations instead of ad-hoc DeprecationWarning
2021-02-05config/argparsing: use proper deprecations instead of ad-hoc DeprecationWarningRan Benita
Proper for removing this in the next major pytest release.
2021-02-04Type annotation polishing for symbols around Pytester.run (#8298)Hong Xu
* Type annotation polishing for symbols around Pytester.run Hopefully these will help document readers understand pertinent methods and constants better. Following up #8294 * Use NOTSET instead of object
2021-02-04Merge pull request #8312 from ↵Bruno Oliveira
matthewhughes934/add-regendoc-runs-for-fixture-docs
2021-02-04Run regendoc over fixture docsMatthew Hughes
This is the result of running: $ cd doc/en && make regen REGENDOC_FILES=fixture.rst
2021-02-04Add regendoc runs for emaillib tests in fixtureMatthew Hughes
Also update these tests ensure they pass, and be explicit about the test file called in an existing test to avoid unintentional calls to the added tests
2021-02-04Merge pull request #8314 from pytest-dev/update-plugin-list/patch-275174eBruno Oliveira
[automated] Update plugin list
2021-02-04Merge pull request #8316 from The-Compiler/training-updateBruno Oliveira
doc: Remove past training
2021-02-04doc: Remove past trainingFlorian Bruhin
2021-02-04Merge pull request #8297 from pytest-dev/monkeypatch-docsRan Benita
doc: Point out two-argument form of monkeypatch.setattr
2021-02-04[automated] Update plugin listpytest bot
2021-02-03Add basic emaillib for tests in fixture.rstMatthew Hughes
This will be used to power regendoc runs for later tests