Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438470 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 3.x.x
0001-Fix-Python-3.x.x-tests-for-Expat-2.2.0.patch (text/plain), 1.07 KB, created by
Sebastian Pipping
on 2016-06-22 18:08:58 UTC
(
hide
)
Description:
Patch for 3.x.x
Filename:
MIME Type:
Creator:
Sebastian Pipping
Created:
2016-06-22 18:08:58 UTC
Size:
1.07 KB
patch
obsolete
>From ffd1712c05558e8a622c03a63e43e295afa1ddfc Mon Sep 17 00:00:00 2001 >From: Sebastian Pipping <sebastian@pipping.org> >Date: Wed, 22 Jun 2016 19:40:14 +0200 >Subject: [PATCH] Fix Python 3.3.5/3.4.4/3.5.1 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 216a46b..9e9d665 100644 >--- a/Lib/test/test_pyexpat.py >+++ b/Lib/test/test_pyexpat.py >@@ -666,7 +666,10 @@ class MalformedInputTest(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 ErrorMessageTest(unittest.TestCase): > def test_codes(self): >-- >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