Commit 4da6ce8
committed
Make parity-failure output more obvious
Print each offender on its own line, labelled with which side is missing
the counterpart, instead of dumping two summary sentences with embedded
list reprs. Factor the duplicated set-comprehension into a small inner
helper so the assertion body is also a touch shorter.
Sample failure (deleting one mirrored test, adding two extras):
TestPEP828Operation is not a 1:1 mirror of TestPEP380Operation (suffix '_ayf'):
missing in TestPEP828Operation: test_yield_from_empty_ayf
no counterpart in TestPEP380Operation: test_made_up_extra_ayf
no counterpart in TestPEP380Operation: test_other_extra_ayf1 parent e95df7d commit 4da6ce8
1 file changed
Lines changed: 18 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1656 | 1651 | | |
1657 | 1652 | | |
1658 | 1653 | | |
| |||
0 commit comments