Commit 251cb30
Use pytest data to extract the parametrised decoration (microsoft#17881)
* Use pytest data to extract the parametrised decoration
Rather than try and parse out the parametrized portion of the nodeid (delimited by square brackets but possibly containing square brackets), use native [pytest item attributes](https://docs.pytest.org/en/6.2.x/reference.html#function) to separate out the decoration.
Better solution for microsoft#17357, fixing microsoft#17676.
* Add news entry
* Update news/2 Fixes/17676.md
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>1 parent d5f0dc5 commit 251cb30
3 files changed
Lines changed: 31 additions & 39 deletions
File tree
- news/2 Fixes
- pythonFiles
- testing_tools/adapter/pytest
- tests/testing_tools/adapter/pytest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 15 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
164 | 176 | | |
165 | 177 | | |
166 | 178 | | |
| |||
434 | 446 | | |
435 | 447 | | |
436 | 448 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 449 | | |
464 | 450 | | |
465 | 451 | | |
| |||
473 | 459 | | |
474 | 460 | | |
475 | 461 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | 462 | | |
487 | 463 | | |
488 | 464 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| |||
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| 542 | + | |
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
| |||
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
| 551 | + | |
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
| |||
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
| 560 | + | |
557 | 561 | | |
558 | 562 | | |
559 | 563 | | |
| |||
562 | 566 | | |
563 | 567 | | |
564 | 568 | | |
| 569 | + | |
565 | 570 | | |
566 | 571 | | |
567 | 572 | | |
| |||
570 | 575 | | |
571 | 576 | | |
572 | 577 | | |
| 578 | + | |
573 | 579 | | |
574 | 580 | | |
575 | 581 | | |
| |||
781 | 787 | | |
782 | 788 | | |
783 | 789 | | |
| 790 | + | |
784 | 791 | | |
785 | 792 | | |
786 | 793 | | |
| |||
992 | 999 | | |
993 | 1000 | | |
994 | 1001 | | |
| 1002 | + | |
995 | 1003 | | |
996 | 1004 | | |
997 | 1005 | | |
| |||
1054 | 1062 | | |
1055 | 1063 | | |
1056 | 1064 | | |
| 1065 | + | |
1057 | 1066 | | |
1058 | 1067 | | |
1059 | 1068 | | |
| |||
1120 | 1129 | | |
1121 | 1130 | | |
1122 | 1131 | | |
| 1132 | + | |
1123 | 1133 | | |
1124 | 1134 | | |
1125 | 1135 | | |
| |||
1152 | 1162 | | |
1153 | 1163 | | |
1154 | 1164 | | |
| 1165 | + | |
1155 | 1166 | | |
1156 | 1167 | | |
1157 | 1168 | | |
| |||
1412 | 1423 | | |
1413 | 1424 | | |
1414 | 1425 | | |
| 1426 | + | |
1415 | 1427 | | |
1416 | 1428 | | |
1417 | 1429 | | |
| |||
1472 | 1484 | | |
1473 | 1485 | | |
1474 | 1486 | | |
| 1487 | + | |
1475 | 1488 | | |
1476 | 1489 | | |
1477 | 1490 | | |
| |||
1480 | 1493 | | |
1481 | 1494 | | |
1482 | 1495 | | |
| 1496 | + | |
1483 | 1497 | | |
1484 | 1498 | | |
1485 | 1499 | | |
| |||
0 commit comments