Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315117 Details for
Bug 397383
/dev-python/mechanize-0.2.5 suffers test failure building with pypy-1.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this is a 2 in 1; mechanize-0.2.5-doctest.patch && mechanize-pypy_test.patch concatted
mechanize-0.2.5-doctest.patch (text/plain), 2.09 KB, created by
Ian Delaney (RETIRED)
on 2012-06-12 16:31:19 UTC
(
hide
)
Description:
this is a 2 in 1; mechanize-0.2.5-doctest.patch && mechanize-pypy_test.patch concatted
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-06-12 16:31:19 UTC
Size:
2.09 KB
patch
obsolete
>diff -ur mechanize-0.2.5.orig/test/test_browser.doctest mechanize-0.2.5/test/test_browser.doctest >--- test/test_browser.doctest 2011-04-01 03:10:28.000000000 +0800 >+++ test/test_browser.doctest 2012-06-12 23:48:40.851710094 +0800 >@@ -17,11 +17,7 @@ > > >>> br = TestHttpBrowser() > >>> r = br.open("http://example.com") >->>> print response_impl(r) >-StringI > >>> r2 = br.open("http://example.com") >->>> print response_impl(r2) >-StringI > >>> print response_impl(r) > eofresponse > >@@ -37,8 +33,6 @@ > >>> br = TestHttpBrowser() > >>> r = br.open("http://example.com") > >>> r2 = test_response(url="http://example.com/2") >->>> print response_impl(r2) >-StringI > >>> br.visit_response(r2) > >>> print response_impl(r) > eofresponse >diff -ur mechanize-0.2.5.orig/test/test_unittest.pyy mechanize-0.2.5/test/test_unittest.pyy >--- test/test_unittest.pyy 2012-06-12 22:37:00.745493754 +0800 >+++ test/test_unittest.pyy 2012-06-12 22:39:25.272501025 +0800 >@@ -17,6 +17,7 @@ > from copy import deepcopy > from cStringIO import StringIO > import pickle >+import platform > > ### Support code > ################################################################ >@@ -615,7 +616,9 @@ > > # "The specifier can refer to modules and packages which have not been > # imported; they will be imported as a side-effect" >+ @unittest.skipIf(hasattr(platform, "python_implementation") and platform.python_implementation() == "PyPy", "Test does not work with PyPy") > def test_loadTestsFromName__module_not_loaded(self): >+ pass > # We're going to try to load this module as a side-effect, so it > # better not be loaded before we try. > # >@@ -1003,7 +1006,9 @@ > > # "The specifier can refer to modules and packages which have not been > # imported; they will be imported as a side-effect" >+ @unittest.skipIf(hasattr(platform, "python_implementation") and platform.python_implementation() == "PyPy", "Test does not work with PyPy") > def test_loadTestsFromNames__module_not_loaded(self): >+ pass > # We're going to try to load this module as a side-effect, so it > # better not be loaded before we try. > #
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 397383
:
297661
|
297663
|
315115
| 315117