Florian Bruhin
e580534df0
doc: Reformat/Modernize some code ( #9900 )
...
Found because I was curious what https://pypi.org/project/shed/ does with pytest.
2022-04-28 16:30:16 +02:00
Jon Parise
f6db7ae749
Let mkdir() and mkpydir() receive PathLike names
...
These pytester utility methods were annotated to only receive `str`
names, but they naturally support os.PathLike values, as well.
This makes writing some pytester calls a little nicer, such as when
creating a directory based on a `.joinpath()` call. We previously needed
to cast that intermediate value to a `str`.
2022-04-25 17:21:15 -07:00
Bruno Oliveira
eb8b3ad929
Merge pull request #9885 from pytest-dev/update-plugin-list/patch-d949b3f7d
...
[automated] Update plugin list
2022-04-23 21:49:20 -03:00
pytest bot
21091a45d0
[automated] Update plugin list
2022-04-24 00:19:03 +00:00
Bruno Oliveira
d949b3f7d9
Merge pull request #9882 from nicoddemus/check-pick-release
...
Cherry-pick: 7.1.2 (#9881 )
2022-04-23 11:51:08 -03:00
Bruno Oliveira
246815de13
Prepare release version 7.1.2 ( #9881 )
...
Co-authored-by: pytest bot <pytestbot@gmail.com>
(cherry picked from commit df9df5574913b2e7753b8cf6ebbf06ed9fbde10d)
2022-04-23 11:38:26 -03:00
Jon Parise
e598429c73
Use safe_getattr() in getfixturemarker()
2022-04-22 14:47:36 -07:00
Zac Hatfield-Dodds
0347957aa7
Fix wrong `log_file` docs ( #9878 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2022-04-22 15:15:27 -03:00
Bruno Oliveira
1e8e46d456
Merge pull request #9823 from tobiasdiez/patch-1
...
Clarify error message in case no collectors are found for a file
2022-04-22 07:28:08 -03:00
Tobias Diez
7df405747a
Merge branch 'pytest-dev:main' into patch-1
2022-04-22 12:11:03 +02:00
Zac Hatfield-Dodds
28e8c8582e
Merge pull request #9871 from paulmueller/getpass-import-error
...
fix: move 'import getpass' statement to try-clause
2022-04-20 15:48:57 -07:00
Paul Müller
1285caadf2
Update 9871.bugfix.rst
2022-04-21 00:18:47 +02:00
pre-commit-ci[bot]
12971a37e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-20 18:23:04 +00:00
Paul Müller
715d0ca9d0
cleanup
2022-04-20 20:21:44 +02:00
Paul Müller
2b9f8f2f9b
Create 9871.bugfix.rst
2022-04-20 20:20:53 +02:00
pre-commit-ci[bot]
ac9b65d890
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-20 18:15:49 +00:00
Paul Müller
8514fab409
Update AUTHORS
2022-04-20 20:15:29 +02:00
Paul Müller
988197c795
fix: move 'import getpass' statement to try-clause
2022-04-20 20:09:37 +02:00
dependabot[bot]
1ea7081752
build(deps): Bump pytest-asyncio in /testing/plugins_integration ( #9824 )
...
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.2...v0.18.3 )
---
updated-dependencies:
- dependency-name: pytest-asyncio
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-04-20 13:08:56 -03:00
github-actions[bot]
6a3168e770
[automated] Update plugin list ( #9864 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-04-20 13:08:36 -03:00
Hugo van Kemenade
5800d39053
Increase stacklevel to point at user's code ( #9869 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-20 13:07:10 -03:00
Bruno Oliveira
045dbc895d
Merge pull request #9866 from pytest-dev/dependabot/pip/testing/plugins_integration/twisted-22.4.0
...
build(deps): Bump twisted from 22.2.0 to 22.4.0 in /testing/plugins_integration
2022-04-19 09:38:10 -03:00
Bruno Oliveira
a60a6a3fea
Merge pull request #9865 from pytest-dev/dependabot/pip/testing/plugins_integration/django-4.0.4
2022-04-19 09:37:40 -03:00
Anthony Sottile
4e3ec26487
Merge pull request #9863 from gresm/patch-1
...
Update goodpractices.rst
2022-04-18 11:35:44 -04:00
dependabot[bot]
86b62067b7
build(deps): Bump twisted in /testing/plugins_integration
...
Bumps [twisted](https://github.com/twisted/twisted ) from 22.2.0 to 22.4.0.
- [Release notes](https://github.com/twisted/twisted/releases )
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst )
- [Commits](https://github.com/twisted/twisted/compare/twisted-22.2.0...twisted-22.4.0 )
---
updated-dependencies:
- dependency-name: twisted
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 03:01:59 +00:00
dependabot[bot]
ace71037ab
build(deps): Bump django in /testing/plugins_integration
...
Bumps [django](https://github.com/django/django ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 03:01:56 +00:00
Shantanu
2e8a319828
Use tomllib on Python 3.11 ( #9741 )
2022-04-17 21:11:17 +03:00
gresm
61095e4ba6
Update goodpractices.rst
...
Fix example package tree.
2022-04-16 15:51:21 +02:00
Bruno Oliveira
752a059cc2
Merge pull request #9854 from pytest-dev/docs-contributing-easy
2022-04-12 13:40:42 -03:00
Hugo van Kemenade
99e20713fd
Docs: link to easy issues in contributing guide
2022-04-12 17:26:30 +03:00
Bruno Oliveira
26c62e1793
Merge pull request #9852 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-12 08:03:44 -03:00
pre-commit-ci[bot]
61dfdfcc3f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0 )
- [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0 )
2022-04-11 21:28:05 +00:00
Bruno Oliveira
9c2ee32069
Merge pull request #9849 from pytest-dev/update-plugin-list/patch-f0cf63a84
...
[automated] Update plugin list
2022-04-10 11:20:50 -03:00
pytest bot
765583dc34
[automated] Update plugin list
2022-04-10 00:17:14 +00:00
Anthony Sottile
f0cf63a84a
Merge pull request #9842 from asottile/init-var-only-dataclasses
...
fix comparison of dataclasses with `InitVar`
2022-04-08 20:08:51 -04:00
Anthony Sottile
8fa775bcee
fix comparison of dataclasses with `InitVar`
2022-04-08 19:51:05 -04:00
Bruno Oliveira
539a5d70f2
Merge pull request #9843 from asottile/sphinx-workaround
2022-04-08 20:33:40 -03:00
Anthony Sottile
1527130476
temporarily pin jinja2 version for docs build
2022-04-08 17:08:30 -04:00
Bruno Oliveira
238b25ffa9
Merge pull request #9826 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-05 09:07:39 -03:00
pre-commit-ci[bot]
e2269f8a5c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0 )
- [github.com/asottile/setup-cfg-fmt: v1.20.0 → v1.20.1](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v1.20.1 )
- [github.com/pre-commit/mirrors-mypy: v0.941 → v0.942](https://github.com/pre-commit/mirrors-mypy/compare/v0.941...v0.942 )
2022-04-04 20:26:44 +00:00
Bruno Oliveira
16345bf689
Merge pull request #9832 from pytest-dev/update-plugin-list/patch-00ad12b9d
...
[automated] Update plugin list
2022-04-03 12:53:34 -03:00
pytest bot
79725c9102
[automated] Update plugin list
2022-04-03 00:17:36 +00:00
Tobias Diez
387ec02021
Add to AUTHORS
2022-03-29 12:38:34 +02:00
Tobias Diez
3fcdbaf0c5
Add changelog
2022-03-29 12:37:23 +02:00
Tobias Diez
141b301d3d
Fix more tests
2022-03-29 12:34:15 +02:00
Tobias Diez
31595e8733
Fix tests
2022-03-29 12:33:13 +02:00
Tobias Diez
63c7338028
Fix rename issue
2022-03-27 16:56:23 +02:00
pre-commit-ci[bot]
0eae340e13
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-03-27 14:41:12 +00:00
Tobias Diez
1f10c59cd3
Clarify error message in case no collectors are found for a file
2022-03-27 16:30:57 +02:00
Bruno Oliveira
00ad12b9db
Merge pull request #9821 from pytest-dev/update-plugin-list/patch-176d2d7b4
...
[automated] Update plugin list
2022-03-27 08:20:10 -03:00