Ran Benita
f1c9570a0e
A few more Python>=3.8 simplifications
2023-07-10 23:20:11 +03:00
antosikv
99ab8ae884
Clarify docs for pytest.main default behavior ( #11187 )
...
Add explicit mentions of the default behavior to both API reference and
how-to section about ways to invoke pytest.
Co-authored-by: Ran Benita <ran@unusedvar.com>
2023-07-09 12:30:33 -03:00
pytest bot
a3b4220d76
[automated] Update plugin list
2023-07-09 00:29:15 +00:00
Bruno Oliveira
fd7a4d2429
Merge pull request #11106 from bluetech/docs-ref-collection-objs
...
reference: improve the node types docs a bit
2023-07-08 15:41:22 -03:00
Ran Benita
b73ec8e5d1
doc: fix EncodingWarnings in examples ( #11158 )
...
Otherwise the warnings show in the regen output.
2023-07-08 15:40:05 -03:00
Zac Hatfield-Dodds
97ed533f63
Merge pull request #11169 from hugovk/test-me-rm-3.7
2023-07-06 22:28:44 -07:00
Zac Hatfield-Dodds
b81003f6fb
Incorporate legend into main table
2023-07-06 00:04:15 -07:00
mickeypash
ddd773ecb1
[docs] add table nose x pytest naming comparison
2023-07-05 23:46:32 -07:00
Florian Bruhin
b5bc53e441
Update open trainings ( #11171 )
2023-07-04 23:19:24 +02:00
Hugo van Kemenade
6baf9f2d31
Update docs and code after dropping EOL 3.7
2023-07-04 18:55:08 +03:00
github-actions[bot]
b847084224
[automated] Update plugin list ( #11159 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-07-03 11:45:17 -03:00
Zac Hatfield-Dodds
165fbbd12a
Drop py37 from CI
2023-06-30 15:19:19 -07:00
Zac Hatfield-Dodds
f4e3b4ad98
Drop Python 3.7
2023-06-30 14:55:42 -07:00
Ran Benita
81cfb3fc87
Merge pull request #11017 from erik-hasse/caplog-root-logger-docs
...
add a warning about modifying the root logger during tests
2023-06-28 09:28:46 +03:00
Ran Benita
e132d6488f
Merge pull request #11139 from pytest-dev/update-plugin-list/patch-fe51121f3
...
[automated] Update plugin list
2023-06-26 15:33:14 +03:00
Thomas Grainger
518ca37cae
Update doc/en/deprecations.rst
2023-06-25 16:09:04 +01:00
Thomas Grainger
45f1a462d5
Apply suggestions from code review
...
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
2023-06-25 16:08:53 +01:00
Thomas Grainger
4cd95eeabf
Merge branch 'main' into warn-when-a-mark-is-applied-to-a-fixture
2023-06-25 16:08:11 +01:00
pytest bot
1306b84241
[automated] Update plugin list
2023-06-25 00:27:02 +00:00
Ran Benita
c8b1790ee7
python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module
...
Previously it would collect the entire package, but this is not what
users expect.
Refs #3749
Fixes #8976
Fixes #9263
Fixes #9313
2023-06-23 20:42:50 +03:00
Ran Benita
1b7896f83d
Add PytestRemovedIn9Warning
...
It's good to have it available already in all 8.* versions, even if it's
not used yet.
2023-06-23 16:42:26 +03:00
Ran Benita
a14745550a
Merge pull request #11131 from pytest-dev/release-7.4.0
...
Prepare release 7.4.0
(cherry picked from commit fb03d1388b002f63973c663cb4929908a2ca81f5)
2023-06-23 14:19:51 +03:00
Ran Benita
1e8135df16
reference: add note that `pythonpath` does not affect `-p`
...
Fix #11118 .
2023-06-22 15:45:20 +03:00
github-actions[bot]
fa09f6dcc6
[automated] Update plugin list ( #11117 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-06-18 09:40:52 -03:00
Florian Bruhin
b55c02c3c9
doc: Add ep2023 training ( #11113 )
2023-06-15 14:17:14 +02:00
Ran Benita
bd88a6412d
reference: separate node types to their own section
...
I think it's helpful to separate the node classes from the other
objects, as they have their own unique usage.
I've chosen not to alphabetize the order, but to use a logical order
instead.
Also slightly improve the docstrings.
2023-06-14 15:57:56 +03:00
Ran Benita
264e7ac327
reference: add doc for `Package`
...
We document the other py collectors, we should document `Package` as
well.
2023-06-14 09:51:37 +03:00
Ran Benita
0142bb6687
Merge pull request #11096 from pytest-dev/release-7.3.2
...
Prepare release 7.3.2
(cherry picked from commit 5dcd2be4661bc606b3399bff3614c0691ce9c13f)
2023-06-10 22:31:49 +03:00
Ran Benita
0ded3297a9
Merge pull request #11086 from pytest-dev/update-plugin-list/patch-32de8e289
...
[automated] Update plugin list
2023-06-07 09:02:06 +03:00
pytest bot
fc9cbbd4c4
[automated] Update plugin list
2023-06-06 14:05:44 +00:00
Ran Benita
1a17539065
Merge pull request #10853 from stefmolin/patch-1
...
Update fixture scope in package/directory fixture example.
2023-06-06 17:04:45 +03:00
pytest bot
1daa8129c6
[automated] Update plugin list
2023-06-04 00:26:58 +00:00
pytest bot
5313d50e18
[automated] Update plugin list
2023-05-28 00:22:05 +00:00
Chris Mahoney
4f3f36c396
Add alias `--config-file` to `-c` ( #11036 )
...
Fixes #11031
Signed-off-by: Chris Mahoney <chrismahoey@hotmail.com>
Co-authored-by: Chris Mahoney <chrismahoey@hotmail.com>
2023-05-26 07:56:18 -03:00
Jarrett Keifer
751d726d21
nonpython example now repr all exceptions
...
The definition of `repr_failure` on the `YamlItem` subclass only handled the custom `YamlException` class, which hides all other errors from the user. By adding in the `super` call we ensure all other exception types also appropriately handled by `repr_failure`.
2023-05-23 20:06:05 -07:00
github-actions[bot]
9e491f430e
[automated] Update plugin list ( #11027 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-05-21 10:47:02 -03:00
Roberto Aldera
9fa82598a9
Use NamedTuple for pytest_report_teststatus return value ( #10972 )
...
Closes #10872
---------
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2023-05-19 08:24:28 -03:00
Erik Hasse
a2feb6bd00
add a warning about modifying the root logger during tests
2023-05-18 09:26:16 -05:00
Ville Skyttä
6041511fb4
Spelling and grammar fixes ( #11014 )
2023-05-18 10:10:44 -03:00
Bruno Oliveira
1636322995
Reference "Status of Python Versions" in backwards-compatibility policy
...
As suggested in #10981 .
2023-05-16 20:24:06 -03:00
github-actions[bot]
612489e2bd
[automated] Update plugin list ( #11001 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-05-15 08:26:41 -03:00
Bruno Oliveira
faeb16146b
Consider testpaths for initial conftests
...
The 'testpaths' option is meant to be identical to execute
pytest passing the 'testpaths' directories explicitly.
Fix #10987
2023-05-12 09:34:15 -03:00
Bruno Oliveira
b241c0b479
Fix defaults for tmp_path_retention_count and tmp_path_retention_policy in docs
2023-05-12 09:34:15 -03:00
leeyueh
f84fea0888
Update usage.rst ( #10974 )
...
Added a note for single quotation used in Windows.
2023-05-10 22:28:52 -03:00
github-actions[bot]
a88ae8289c
[automated] Update plugin list ( #10968 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-05-09 19:05:13 -03:00
pytest bot
be774667c2
[automated] Update plugin list
2023-04-30 00:23:40 +00:00
Sergey Kim
725de3a0d3
add flake8-pytest-style mention to goodpractices ( #10939 )
2023-04-28 23:47:47 +03:00
Florian Bruhin
a15f544962
doc: Fix 2024 training location ( #10947 )
2023-04-26 08:13:06 +02:00
Bryan Ricker
158f41fdf8
Fix documentation typo ( #10942 )
2023-04-25 10:49:16 +02:00
pytest bot
15156757b6
[automated] Update plugin list
2023-04-23 00:21:26 +00:00