dev-python/webob: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Tue, 20 Sep 2016 16:55:54 +0000 (18:55 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 20 Sep 2016 21:06:57 +0000 (23:06 +0200)
Closes: https://github.com/gentoo/gentoo/pull/2376

Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/webob/files/webob-1.0.7-tests.patch [deleted file]
dev-python/webob/files/webob-1.2.3-tests.patch [deleted file]

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 (file)
index a86f88c..0000000
+++ /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 (file)
index 4fc3fba..0000000
+++ /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