summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-20 18:55:54 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-20 23:06:57 +0200
commit4c5ab7543425e11f8efe591b5e85dbed3e774f37 (patch)
tree5f0730930f0a26a16b11679b34dd10bd1d633098 /dev-python/webob
parentdev-python/virtualenvwrapper: remove unused file (diff)
downloadgentoo-4c5ab7543425e11f8efe591b5e85dbed3e774f37.tar.gz
gentoo-4c5ab7543425e11f8efe591b5e85dbed3e774f37.tar.bz2
gentoo-4c5ab7543425e11f8efe591b5e85dbed3e774f37.zip
dev-python/webob: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/2376 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/webob')
-rw-r--r--dev-python/webob/files/webob-1.0.7-tests.patch27
-rw-r--r--dev-python/webob/files/webob-1.2.3-tests.patch24
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/webob/files/webob-1.0.7-tests.patch b/dev-python/webob/files/webob-1.0.7-tests.patch
deleted file mode 100644
index a86f88c69a9..00000000000
--- a/dev-python/webob/files/webob-1.0.7-tests.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://bitbucket.org/ianb/webob/issue/11
-https://bitbucket.org/ianb/webob/changeset/145b64e724eb
-
---- tests/test_misc.py
-+++ tests/test_misc.py
-@@ -130,7 +130,8 @@
-
-
- def test_multidict_cgi():
-- fs = cgi.FieldStorage()
-+ env = {'QUERY_STRING': ''}
-+ fs = cgi.FieldStorage(environ=env)
- fs.filename = '\xc3\xb8'
- plain = MultiDict(key='\xc3\xb8', fs=fs)
- ua = UnicodeMultiDict(multi=plain, encoding='utf-8')
---- tests/test_multidict.py
-+++ tests/test_multidict.py
-@@ -187,7 +187,8 @@
- d = self._get_instance()
- d.decode_keys = True
-
-- fs = cgi.FieldStorage()
-+ env = {'QUERY_STRING': ''}
-+ fs = cgi.FieldStorage(environ=env)
- fs.name = 'a'
- self.assertEqual(d._decode_value(fs).name, 'a')
-
diff --git a/dev-python/webob/files/webob-1.2.3-tests.patch b/dev-python/webob/files/webob-1.2.3-tests.patch
deleted file mode 100644
index 4fc3fbab7c3..00000000000
--- a/dev-python/webob/files/webob-1.2.3-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 3a2c16f2f72dbca5ddfce7f649daf426c2125fed Mon Sep 17 00:00:00 2001
-From: Aaron DeVore <aaron.devore@gmail.com>
-Date: Tue, 30 Oct 2012 11:55:30 -0700
-Subject: [PATCH] Fix issue #75: depending on dict order in test_headers2
-
----
- tests/test_request.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_request.py b/tests/test_request.py
-index f219d36..3e38e7a 100644
---- a/tests/test_request.py
-+++ b/tests/test_request.py
-@@ -2662,7 +2662,7 @@ def test_headers2(self):
- self.assertTrue(i in r.headers and
- 'HTTP_'+i.upper().replace('-', '_') in r.environ)
- r.headers = {'Server':'Apache'}
-- self.assertEqual(list(r.environ.keys()), ['a', 'HTTP_SERVER'])
-+ self.assertEqual(set(r.environ.keys()), set(['a', 'HTTP_SERVER']))
-
- def test_host_url(self):
- # Request has a read only property host_url that combines several
---
-1.8.1.6