Commit cafa26c
authored
Drop pytest 6.1 compatibility (#482)
* [build] Drop compatibility with pytest 6.1.
Pytest 7 was released on 2022-02-03, roughly one year ago. It is time to bump the minimum version requirement on pytest.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [refactor] Replace custom type aliases for with pytest types.
The types Config, PytestPluginManager, and Parser are available as part of the public pytest API starting from pytest 7.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [refactor] Remove deprecation warning when using a pytest version lower than 7.
The minimum pytest version was bumped to v7, so this deprecation warning should never be triggered.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [refactor] Replace forward reference in event_loop fixture with actual type.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [refactor] Link to Pull Request for exposing FixtureDef and SubRequest in pytest.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>1 parent 97ece55 commit cafa26c
File tree
7 files changed
+37
-61
lines changed- dependencies
- default
- pytest-min
- docs/source/reference
- pytest_asyncio
- tests
7 files changed
+37
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
169 | 175 | | |
170 | 176 | | |
171 | 177 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
| |||
508 | 506 | | |
509 | 507 | | |
510 | 508 | | |
511 | | - | |
| 509 | + | |
512 | 510 | | |
513 | 511 | | |
514 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
This file was deleted.
0 commit comments