-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Tests break with --with-system-expat and Expat 2.2.0 #71556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Expat commit Attached you find patches to fix the test suite for all versions in a backwards-compatible way. Please consider application upstream. Thanks! Best, Sebastian |
Thanks for the patches. This test was added in r74435, presumably to test for a crash. IMO it would be sufficient to test for the first part of the error message, without checking the column number. The test could also use assertRaisesRegex(). Should this actually be applied to all security versions, or just 3.5+ and 2.7? I guess can see the benefit of fixing 3.2+, and I remember doing this once before when the test suite fell over and it was not Python’s fault. |
Added a patch. |
New changeset 5b64175c6c24 by Martin Panter in branch '3.2': New changeset 1c06e02b968a by Martin Panter in branch '3.3': New changeset 17ec4d58c046 by Martin Panter in branch '3.4': New changeset 2d6e6600c210 by Martin Panter in branch '2.7': New changeset 0fbf3b88eed8 by Martin Panter in branch '3.5': New changeset 31dc480102fc by Martin Panter in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: