Bruno Oliveira
8bbd35aa69
Merge pull request #10082 from pytest-dev/dependabot/pip/testing/plugins_integration/pytest-mock-3.8.1
...
build(deps): Bump pytest-mock from 3.7.0 to 3.8.1 in /testing/plugins_integration
2022-06-27 07:15:41 -03:00
dependabot[bot]
0b1e9ba270
build(deps): Bump pytest-mock in /testing/plugins_integration
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.7.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 03:02:47 +00:00
Bruno Oliveira
9a037a5713
Merge pull request #10076 from pytest-dev/update-plugin-list/patch-aafac5578
...
[automated] Update plugin list
2022-06-26 10:54:01 -03:00
Bruno Oliveira
11fb5cd331
Merge pull request #10054 from SnoopJeDi/doc/xfail-multiple-exceptions
...
Indicate support for a tuple of exceptions in xfail raises=
2022-06-26 09:54:18 -03:00
pytest bot
62d975a69e
[automated] Update plugin list
2022-06-26 00:25:07 +00:00
Bruno Oliveira
aafac5578c
Merge pull request #10056 from paulreece/fixture-path-doc-fix
...
Added Docstring description for the Path property of FixtureRequest #9975
2022-06-25 20:55:23 -03:00
Zac Hatfield-Dodds
2b70e7f4df
Merge pull request #10064 from hugovk/test-me-fix-logging.warn-deprecation
...
Replace deprecated logging.warn with logging.warning
2022-06-24 23:29:26 -07:00
Zac Hatfield-Dodds
d2a206683c
Merge pull request #10073 from Kache/main
...
Clarify writing_plugins naming instructions
2022-06-24 23:27:58 -07:00
Kevin C
0a7b8722e5
Clarify writing_plugins naming instructions
...
Fixes : #10072
2022-06-23 18:03:18 -07:00
Bruno Oliveira
aa55975c7d
Doc: Clear mailbox before deleting the user ( #10068 )
2022-06-23 21:47:39 -03:00
Anthony Sottile
141c5e5a89
Merge pull request #10070 from pytest-dev/typos
...
fix some typos to ensure pre-commit.ci fixes main
2022-06-22 11:38:36 -04:00
pre-commit-ci[bot]
cba65e74b3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-06-22 15:32:05 +00:00
Anthony Sottile
74691346bd
fix some typos to ensure pre-commit.ci fixes main
2022-06-22 08:29:02 -07:00
pre-commit-ci[bot]
6db715c205
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-06-22 12:16:24 +00:00
Chanvin Xiao
1e6a587363
Doc: Clear mailbox before deleting the user
2022-06-22 20:06:37 +08:00
Hugo van Kemenade
052da7128b
Replace deprecated logging.warn with .warning
2022-06-21 22:53:28 +03:00
Paul Reece
cdc287d21a
Added self to Authors
2022-06-17 12:00:18 -04:00
Paul Reece
5a9536cf42
Added Docstring description for the Path property of the FixtureRequest class.
2022-06-17 11:52:18 -04:00
James Gerity
17c385180d
Indicate support for a tuple of exceptions in xfail raises=
2022-06-16 11:39:41 -04:00
Chris Wheeler
fab696dcd1
Add support for .pytest.ini as an alternative to pytest.ini
...
Closes #9987
2022-06-14 08:24:35 -03:00
Bruno Oliveira
2cd41651bb
Merge pull request #10031 from The-Compiler/trainings
...
Update training list
2022-06-14 07:31:06 -03:00
Bruno Oliveira
5ef064b602
Mark pdb+expect tests as xfail for now ( #10043 )
...
Related to #10042
2022-06-14 07:29:19 -03:00
Bruno Oliveira
d6b837e2d3
Mark pdb+expect tests as xfail for now
...
Related to #10042
2022-06-14 07:01:34 -03:00
Zach OBrien
96412d19ab
Fix representation of tuples in approx
...
Closes #9917
2022-06-14 06:54:32 -03:00
Bruno Oliveira
bb94e83b49
Merge pull request #10035 from pytest-dev/update-plugin-list/patch-04be900d0
...
[automated] Update plugin list
2022-06-13 09:10:40 -03:00
pytest bot
1a50e5222f
[automated] Update plugin list
2022-06-12 00:22:15 +00:00
Florian Bruhin
27c94f573c
Update training list
2022-06-10 15:40:53 +02:00
Bruno Oliveira
04be900d06
Update location of `usage.rst` to fix manpage compilation ( #10026 )
...
`usage.rst` has been moved from `doc/en` to `doc/en/how-to`, so the `man_pages` configuration
value needs to be updated to the new location, so that we dont get this warning:
writing... WARNING: "man_pages" config value references unknown document usage
2022-06-07 18:49:37 -03:00
Sandro Tosi
fe2c74cb1a
Update location of `usage.rst` to fix manpage compilation
...
`usage.rst` has been moved from `doc/en` to `doc/en/how-to`, so the `man_pages` configuration
value needs to be updated to the new location, so that we dont get this warning:
writing... WARNING: "man_pages" config value references unknown document usage
2022-06-07 14:43:34 -04:00
dependabot[bot]
083285948f
build(deps): Bump django from 4.0.4 to 4.0.5 in /testing/plugins_integration ( #10021 )
...
Bumps [django](https://github.com/django/django ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.4...4.0.5 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 08:01:15 -03:00
github-actions[bot]
433c7376c5
[automated] Update plugin list ( #10020 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-06-05 12:44:38 -03:00
Neil Girdhar
5adfb0e187
Use symbolic NoReturn as a type annotation ( #10018 )
...
Use symbolic NoReturn as a type annotation
2022-06-03 07:59:48 -03:00
Tony Narlock
c2f684fcd6
docs(monkeypatch): Fix autodoc reference links ( #10013 )
...
Close #10014
2022-06-02 10:16:59 -03:00
Bruno Oliveira
130c954bb1
Merge pull request #9904 from johnkangw/notes_update
2022-05-31 16:35:29 -03:00
Hugo van Kemenade
e54c6a1362
Document the --code-highlight default ( #9883 )
...
Also normalized all help text using the patterns:
* `One sentence help text`
* `First sentence of help. Second sentence of help.`
2022-05-31 16:32:51 -03:00
Bruno Oliveira
9a8f5dd73e
Merge pull request #10007 from nicoddemus/importlib-docs
2022-05-31 16:24:55 -03:00
Bruno Oliveira
6017666fe1
Do not advertise that importlib will be default import mode
...
It is clear at this point that changing the default would break a lot of suites, and is not a clear win in all cases anyway.
Close #10003
2022-05-31 09:53:23 -03:00
Anthony Sottile
a72e8b3d3e
Merge pull request #10006 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-30 18:31:30 -04:00
pre-commit-ci[bot]
0efd7a6ec6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960 )
2022-05-30 21:00:26 +00:00
Ronny Pfannschmidt
c533015c56
Merge pull request #9880 from jparise/getfixturemarker-attr
...
Use safe_getattr() in getfixturemarker()
2022-05-30 05:54:40 +02:00
github-actions[bot]
e547cd565d
[automated] Update plugin list ( #10001 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-05-29 13:04:53 -03:00
Zac Hatfield-Dodds
a47e91e077
Merge pull request #9893 from jparise/pytester-mkdir-path
2022-05-27 20:51:50 -07:00
Zac Hatfield-Dodds
420dc7824b
Merge pull request #9990 from petebman/improve_getfixturevalue_error_message
2022-05-27 20:40:55 -07:00
Cheuk Ting Ho
c988e49af6
Warn when test functions return other than None ( #9956 )
...
Closes #7337
2022-05-25 09:48:02 -03:00
github-actions[bot]
31f9e5bcdd
[automated] Update plugin list ( #9985 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-05-24 11:12:31 +02:00
Tim Hoffmann
9a9acf13f8
Declutter doc entry page ( #9969 )
...
- Remove the index page https://docs.pytest.org/en/7.1.x/genindex.html
Such an index is reasonable in books but not so much in HTML pages.
IMHO the integrated search is much more user-friendly and sufficient.
- Remove the PDF link from the entry page. The PDF is already linked
in the sidebar. I anticipate that getting the PDF documentation is
not a major concern for users.
- Remove the sections "Changelog" and "License" from the entry page.
These section only contain links to the respective pages.
These topics are purely technical. They should be easily accessible
(which they still are through sidebar section "About the project"),
but they don't need additional advertisement through a dedicated
section on the entry page.
2022-05-24 10:23:39 +02:00
Jon Parise
8ac6dce2c7
Add shell-style wildcard support to 'testpaths' ( #9897 )
...
This is especially useful for large repositories (e.g. monorepos) that
use a hierarchical file system organization for nested test paths.
src/*/tests
The implementation uses the standard `glob` module to perform wildcard
expansion in Config.parse().
The related logic that determines whether or not to include 'testpaths'
in the terminal header was previously relying on a weak heuristic: if
Config.args matched 'testpaths', then its value was printed. That
generally worked, but it could also print when the user explicitly used
the same arguments on the command-line as listed in 'testpaths'. Not a
big deal, but it shows that the check was logically incorrect.
Now that 'testpaths' can contain wildcards, it's no longer possible to
perform this simple comparison, so this change also introduces a public
Config.ArgSource enum and Config.args_source attribute that explicitly
names the "source" of the arguments: the command line, the invocation
directory, or the 'testdata' configuration value.
2022-05-24 10:20:51 +02:00
Pete Baughman
0e62861e84
Improve error message in getfixturevalue
2022-05-23 17:54:22 +00:00
Bruno Oliveira
611b579d21
Merge pull request #9963 from pytest-dev/dependabot/pip/testing/plugins_integration/anyio-curiotrio--3.6.1
2022-05-17 09:12:45 -03:00
Bruno Oliveira
8469f44401
Merge pull request #9970 from ezio-melotti/fix-tempdirfactory-docstring
...
Fix rst markup in TempdirFactory's docstring.
2022-05-17 08:13:11 -03:00