diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch | 38 | ||||
-rw-r--r-- | dev-python/webtest/files/webtest-1.3.4-index_fixt.patch | 13 |
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch b/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch deleted file mode 100644 index 38b01ae215b0..000000000000 --- a/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/docs/index.txt b/docs/index.txt -index f472102..1edf711 100644 ---- a/docs/index.txt -+++ b/docs/index.txt -@@ -271,7 +271,7 @@ Then you can submit: - >>> res = form.submit() - >>> # Or submit a button: - >>> res = form.submit('submit') -- >>> print(res) -+ >>> print(res) # doctest:+ELLIPSIS - Response: 200 OK - Content-Type: text/plain - ... -@@ -331,7 +331,7 @@ Examples: - <class 'BeautifulSoup.BeautifulSoup'> - >>> res.html.body.div.string - u'hey!' -- >>> res.lxml -+ >>> res.lxml # doctest:+ELLIPSIS - <Element html at ...> - >>> res.lxml.xpath('//body/div')[0].text - 'hey!' -@@ -343,13 +343,13 @@ Examples: - >>> res = TestResponse(content_type='application/xml', - ... body='<xml><message>hey!</message></xml>') - >>> res.request = TestRequest.blank('/') -- >>> res.xml -+ >>> res.xml # doctest:+ELLIPSIS - <Element ...> - >>> res.xml[0].tag - 'message' - >>> res.xml[0].text - 'hey!' -- >>> res.lxml -+ >>> res.lxml # doctest:+ELLIPSIS - <Element xml at ...> - >>> res.lxml[0].tag - 'message'
\ No newline at end of file diff --git a/dev-python/webtest/files/webtest-1.3.4-index_fixt.patch b/dev-python/webtest/files/webtest-1.3.4-index_fixt.patch deleted file mode 100644 index 5cb75c7ea138..000000000000 --- a/dev-python/webtest/files/webtest-1.3.4-index_fixt.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- /dev/null 2012-05-03 18:34:53.288000099 +0800 -+++ docs/index_fixt.py 2012-05-07 00:07:55.392854158 +0800 -@@ -0,0 +1,10 @@ -+# -*- coding: utf-8 -*- -+from doctest import ELLIPSIS -+ -+ -+def setup_test(test): -+ for example in test.examples: -+ example.options.setdefault(ELLIPSIS, 1) -+ -+setup_test.__test__ = False -+ |