Commit 9f74e86
authored
This fixes XML unittest fallout from the #115398 security fix. When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.
* sax|etree: Simplify Expat version guard where simplifiable
Idea by Matěj Cepl
* sax|etree: Fix reparse deferral tests for vanilla Expat <2.6.0
This *does not fix* the case of distros with an older version of libexpat with the 2.6.0 feature backported as a security fix. (Ubuntu is a known example of this with its libexpat1 2.5.0-2ubunutu0.1 package)
1 parent 872e212 commit 9f74e86
File tree
3 files changed
+9
-9
lines changed- Lib/test
- Misc/NEWS.d/next/Tests
3 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1218 | 1221 | | |
1219 | | - | |
1220 | | - | |
1221 | | - | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | 1224 | | |
| |||
1251 | 1251 | | |
1252 | 1252 | | |
1253 | 1253 | | |
| 1254 | + | |
1254 | 1255 | | |
1255 | | - | |
1256 | 1256 | | |
1257 | 1257 | | |
1258 | 1258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1710 | 1713 | | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
| |||
1743 | 1742 | | |
1744 | 1743 | | |
1745 | 1744 | | |
| 1745 | + | |
1746 | 1746 | | |
1747 | | - | |
1748 | 1747 | | |
1749 | 1748 | | |
1750 | 1749 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments