Commit 39a2bcf
authored
Hold a strong reference to 'hook' while calling the default
unraisable took to log hook failure.
Fix test_sys.UnraisableHookTest: use the right decorator function to
disable colors. Previously, tests were always skipped.
1 parent 6d54b6a commit 39a2bcf
File tree
3 files changed
+7
-5
lines changed- Lib/test
- Misc/NEWS.d/next/Library
- Python
3 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
| 1353 | + | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | 1356 | | |
| |||
1492 | 1492 | | |
1493 | 1493 | | |
1494 | 1494 | | |
| 1495 | + | |
1495 | 1496 | | |
1496 | 1497 | | |
1497 | 1498 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1656 | 1656 | | |
1657 | 1657 | | |
1658 | 1658 | | |
| 1659 | + | |
1659 | 1660 | | |
1660 | 1661 | | |
1661 | 1662 | | |
| |||
1700 | 1701 | | |
1701 | 1702 | | |
1702 | 1703 | | |
1703 | | - | |
1704 | 1704 | | |
1705 | 1705 | | |
1706 | 1706 | | |
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | | - | |
1717 | 1716 | | |
1718 | 1717 | | |
1719 | 1718 | | |
1720 | 1719 | | |
1721 | 1720 | | |
1722 | 1721 | | |
1723 | 1722 | | |
1724 | | - | |
1725 | 1723 | | |
1726 | 1724 | | |
1727 | 1725 | | |
1728 | 1726 | | |
1729 | 1727 | | |
1730 | | - | |
1731 | 1728 | | |
1732 | 1729 | | |
1733 | 1730 | | |
| |||
1757 | 1754 | | |
1758 | 1755 | | |
1759 | 1756 | | |
| 1757 | + | |
1760 | 1758 | | |
1761 | 1759 | | |
1762 | 1760 | | |
| |||
0 commit comments