dev-python/webtest: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/2375

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger (asterix)
2016-09-20 18:56:53 +02:00
committed by David Seifert
parent 0992e0fa69
commit cb48242c1a
2 changed files with 0 additions and 51 deletions

View File

@@ -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'

View File

@@ -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
+