public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/webob/files/
@ 2016-09-20 21:07 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2016-09-20 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     4c5ab7543425e11f8efe591b5e85dbed3e774f37
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Sep 20 16:55:54 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 21:06:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5ab754

dev-python/webob: remove unused patches

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

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/webob/files/webob-1.0.7-tests.patch | 27 --------------------------
 dev-python/webob/files/webob-1.2.3-tests.patch | 24 -----------------------
 2 files changed, 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 a86f88c..00000000
--- 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 4fc3fba..00000000
--- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-20 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/webob/files/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox