Bruno Oliveira
d98aeb0df9
Merge pull request #10262 from nicoddemus/backport-10206-to-7.1.x
...
Revamp good practices (#10206 )
2022-09-01 08:22:56 -03:00
Philipp A
58b38fa1c2
Revamp good practices ( #10206 )
...
* Recommend importlib import mode for new projects
* Recommend src layout more strongly
* Switch to hatchling as the packaging tool in the example (following PyPA)
* Add explanation about the different import modes
(cherry picked from commit 245a8c23dd )
2022-09-01 08:08:53 -03:00
Bruno Oliveira
ab96ea88e8
Merge pull request #10258 from pytest-dev/backport-10252-to-7.1.x
...
[7.1.x] Fix regendoc
2022-08-31 14:39:56 -03:00
Bruno Oliveira
fc0e024b11
[7.1.x] Fix regendoc
2022-08-31 17:36:03 +00:00
Bruno Oliveira
8f5088f412
Merge pull request #10249 from pytest-dev/backport-10231-to-7.1.x
2022-08-26 11:13:25 -03:00
Bruno Oliveira
aae93d6127
Ignore type-errors related to attr.asdict
2022-08-26 09:57:18 -03:00
Gergely Kalmár
71b79fcda5
[7.1.x] Ignore editable installation modules
2022-08-26 12:48:36 +00:00
Bruno Oliveira
89f7518cb1
Merge pull request #10222 from pytest-dev/backport-10171-to-7.1.x
...
[7.1.x] Update fixtures.rst w/ finalizer order
2022-08-15 15:07:46 -03:00
aizpurua23a
88fc45bd57
[7.1.x] Update fixtures.rst w/ finalizer order
2022-08-15 17:23:43 +00:00
Bruno Oliveira
d0b53d6ba7
Merge pull request #10221 from pytest-dev/backport-10217-to-7.1.x
...
[7.1.x] Add reference to the Where to patch docs in monkeypatch.setattr
2022-08-15 14:18:39 -03:00
Bruno Oliveira
9b2c6cedc7
[7.1.x] Add reference to the Where to patch docs in monkeypatch.setattr
2022-08-15 17:13:13 +00:00
Bruno Oliveira
13fd967f54
Merge pull request #10213 from pytest-dev/backport-10192-to-7.1.x
2022-08-13 16:41:29 -03:00
Sviatoslav Sydorenko
f5cdd18b6a
[7.1.x] Mention `monkeypatch.context()` in the docs
2022-08-13 19:08:56 +00:00
Bruno Oliveira
d7f27c4687
Merge pull request #10144 from pytest-dev/backport-10143-to-7.1.x
2022-08-12 08:53:49 -03:00
Bruno Oliveira
7133c546f8
[7.1.x] Add monkeypatch.context() to how-to doc intro
2022-08-12 08:34:29 -03:00
github-actions[bot]
6f8c4fa742
[7.1.x] JUnit XML: Escape error messages in setup/teardown ( #10207 )
...
Co-authored-by: holesch <8659229+holesch@users.noreply.github.com>
2022-08-12 10:06:32 +00:00
Bruno Oliveira
121b69276a
Merge pull request #10140 from pytest-dev/backport-10138-to-7.1.x
...
[7.1.x] Explicit note that tmpdir fixture is discouraged in favour of tmp_path #9937
2022-07-15 10:14:41 -03:00
Bruno Oliveira
b9d00fba13
Merge pull request #10132 from hroncok/python3.11.0b4
2022-07-15 09:53:20 -03:00
Wolfremium
da7daaac92
[7.1.x] Explicit note that tmpdir fixture is discouraged in favour of tmp_path #9937
2022-07-15 11:41:58 +00:00
Bruno Oliveira
0b65f0bb6f
Merge pull request #10137 from pytest-dev/backport-10133-to-7.1.x
2022-07-14 21:06:01 -03:00
Nipunn Koorapati
9b3affc006
[7.1.x] Add typing for FixtureRequest.param
2022-07-14 23:37:36 +00:00
Bruno Oliveira
ffb9d2bcea
Merge pull request #10124 from pytest-dev/backport-10123-to-7.1.x
...
[7.1.x] Fix mypy pre-commit run
2022-07-11 10:12:50 -03:00
Anthony Sottile
55189ebda6
[7.1.x] Fix mypy pre-commit run
2022-07-11 12:49:27 +00:00
Anthony Sottile
44bdd94c9e
Merge pull request #10117 from pytest-dev/backport-10115
...
[7.1.x] replace atomicwrites with os.replace
2022-07-09 06:05:34 -04:00
Anthony Sottile
199367168b
[7.1.x] replace atomicwrites with os.replace
...
(cherry picked from commit 7dc540f258 )
2022-07-08 19:13:28 -07:00
github-actions[bot]
1eb8434529
[7.1.x] Remove europython training ( #10108 )
...
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-07-06 11:27:46 +00:00
Anthony Sottile
3a975e8569
Merge pull request #10092 from pytest-dev/backport-10088-to-7.1.x
...
[7.1.x] Pass importmode to import_path in DoctestModule
2022-06-30 09:04:41 -04:00
Anthony Sottile
549e3136cc
[7.1.x] Pass importmode to import_path in DoctestModule
2022-06-30 05:46:18 -07:00
Anthony Sottile
ec055cf772
Merge pull request #10091 from pytest-dev/backport-10090
...
[7.1.x] update does_not_raise docs now that pytest is 3.7+ only
2022-06-29 14:31:09 -04:00
Anthony Sottile
550a42d717
[7.1.x] update does_not_raise docs now that pytest is 3.7+ only
...
(cherry picked from commit 2941da0f2b )
2022-06-29 14:12:54 -04:00
Bruno Oliveira
9c6cf93717
Merge pull request #10087 from pytest-dev/backport-10081-to-7.1.x
2022-06-28 13:10:08 -03:00
Bruno Oliveira
9a16e69835
[7.1.x] Do not call tearDown for skipped unittest.TestCases with --pdb
2022-06-28 15:51:30 +00:00
Bruno Oliveira
bf765cc3c8
Merge pull request #10083 from pytest-dev/backport-10078-to-7.1.x
2022-06-27 10:17:09 -03:00
Bruno Oliveira
0e7a6a769e
[7.1.x] Use PurePath directly instead of os.path.sep in rewrite.py
2022-06-27 13:00:17 +00:00
Bruno Oliveira
8ae6237b3e
Merge pull request #10077 from pytest-dev/backport-10054-to-7.1.x
...
[7.1.x] Indicate support for a tuple of exceptions in xfail raises=
2022-06-26 10:54:32 -03:00
Bruno Oliveira
7127b56a7d
Merge pull request #10075 from pytest-dev/backport-10056-to-7.1.x
...
[7.1.x] Added Docstring description for the Path property of FixtureRequest #9975
2022-06-26 10:54:22 -03:00
pre-commit-ci[bot]
b8ce513e95
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-06-26 12:56:42 +00:00
Bruno Oliveira
315695f53f
[7.1.x] Indicate support for a tuple of exceptions in xfail raises=
2022-06-26 12:55:40 +00:00
pre-commit-ci[bot]
a1027af168
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-06-26 01:31:08 +00:00
Bruno Oliveira
9c3bc106dd
[7.1.x] Added Docstring description for the Path property of FixtureRequest #9975
2022-06-25 23:56:46 +00:00
Bruno Oliveira
c19571f30d
Merge pull request #10046 from pytest-dev/backport-10031-to-7.1.x
...
[7.1.x] Update training list
2022-06-14 07:56:59 -03:00
Bruno Oliveira
a749e08c42
Merge pull request #10044 from pytest-dev/backport-10043-to-7.1.x
...
[7.1.x] Mark pdb+expect tests as xfail for now
2022-06-14 07:53:12 -03:00
Bruno Oliveira
d89c13d670
[7.1.x] Update training list
2022-06-14 10:41:13 +00:00
Bruno Oliveira
be9f8b1d05
[7.1.x] Mark pdb+expect tests as xfail for now
2022-06-14 10:30:49 +00:00
Bruno Oliveira
afa3bbd0e9
[7.1.x] Fix representation of tuples in approx ( #10041 )
...
Co-authored-by: Zach OBrien <zachobrien99@gmail.com>
2022-06-14 07:30:11 -03:00
Zach OBrien
dc0812610d
[7.1.x] Fix representation of tuples in approx
2022-06-14 09:56:12 +00:00
Bruno Oliveira
c2aa80132a
Merge pull request #10028 from pytest-dev/backport-10026-to-7.1.x
...
[7.1.x] Update location of `usage.rst` to fix manpage compilation
2022-06-07 18:51:52 -03:00
Bruno Oliveira
55e7a71446
[7.1.x] Update location of `usage.rst` to fix manpage compilation
2022-06-07 21:51:21 +00:00
Bruno Oliveira
2b0899a4d1
Merge pull request #10015 from pytest-dev/backport-10013-to-7.1.x
...
[7.1.x] docs(monkeypatch): Fix autodoc reference links
2022-06-02 11:07:39 -03:00
Tony Narlock
eb55d4c945
[7.1.x] docs(monkeypatch): Fix autodoc reference links
2022-06-02 13:19:05 +00:00