Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438468 Details for
Bug 586742
[PATCH] dev-lang/python tests fail with dev-libs/expat-2.2.0 (as they rely on a bug fixed in 2.2.0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 2.7.11
0001-Fix-Python-2.7.11-tests-for-Expat-2.2.0.patch (text/plain), 1.04 KB, created by
Sebastian Pipping
on 2016-06-22 18:08:38 UTC
(
hide
)
Description:
Patch for 2.7.11
Filename:
MIME Type:
Creator:
Sebastian Pipping
Created:
2016-06-22 18:08:38 UTC
Size:
1.04 KB
patch
obsolete
>From 0c3ac2e59afa3d09981f508f3b7b96d342b37255 Mon Sep 17 00:00:00 2001 >From: Sebastian Pipping <sebastian@pipping.org> >Date: Wed, 22 Jun 2016 19:39:22 +0200 >Subject: [PATCH] Fix Python 2.7.11 tests for Expat 2.2.0 > >Related commit in Expat: 550eb6bbaa7e6efc44e94cab945fe9c781c01211 >--- > Lib/test/test_pyexpat.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py >index eba9058..5fb6af2 100644 >--- a/Lib/test/test_pyexpat.py >+++ b/Lib/test/test_pyexpat.py >@@ -614,7 +614,10 @@ class MalformedInputText(unittest.TestCase): > parser.Parse(xml, True) > self.fail() > except expat.ExpatError as e: >- self.assertEqual(str(e), 'XML declaration not well-formed: line 1, column 14') >+ self.assertIn(str(e), [ >+ 'XML declaration not well-formed: line 1, column 13', >+ 'XML declaration not well-formed: line 1, column 14', >+ ]) > > class ForeignDTDTests(unittest.TestCase): > """ >-- >2.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 586742
: 438468 |
438470