Commit 85760bf
Apply pythonpath option as early as possible (#12536)
This allows plugins loaded via '-p' to benefit from the new PYTHONPATH, making the option useful in more cases and less surprising.
For this to work it was required for the functionality to be part of Config rather than a separate plugin, which is unfortunate but in the end considered a small price to pay.
Fix #11118.
---------
Co-authored-by: Bruno Oliveira <[email protected]>1 parent 2b99703 commit 85760bf
File tree
6 files changed
+44
-41
lines changed- changelog
- doc/en/reference
- src/_pytest
- config
- testing
6 files changed
+44
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1796 | 1796 | | |
1797 | 1797 | | |
1798 | 1798 | | |
1799 | | - | |
1800 | | - | |
1801 | | - | |
1802 | | - | |
1803 | | - | |
1804 | 1799 | | |
1805 | 1800 | | |
1806 | 1801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
| |||
1245 | 1244 | | |
1246 | 1245 | | |
1247 | 1246 | | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1248 | 1250 | | |
1249 | 1251 | | |
1250 | 1252 | | |
| |||
1294 | 1296 | | |
1295 | 1297 | | |
1296 | 1298 | | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1297 | 1311 | | |
1298 | 1312 | | |
1299 | 1313 | | |
| |||
1370 | 1384 | | |
1371 | 1385 | | |
1372 | 1386 | | |
| 1387 | + | |
1373 | 1388 | | |
1374 | 1389 | | |
1375 | 1390 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
1413 | 1412 | | |
1414 | 1413 | | |
1415 | 1414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
65 | 85 | | |
66 | 86 | | |
67 | 87 | | |
| |||
95 | 115 | | |
96 | 116 | | |
97 | 117 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
101 | 121 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 122 | | |
107 | 123 | | |
| 124 | + | |
108 | 125 | | |
109 | 126 | | |
110 | 127 | | |
| |||
0 commit comments