projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3843a40
)
Revert "Add failing tests for invalid %encodings"
author
Kenneth Reitz
<me@kennethreitz.com>
Mon, 23 Apr 2012 02:26:07 +0000
(22:26 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Mon, 23 Apr 2012 02:26:07 +0000
(22:26 -0400)
This reverts commit
e28c1c9bfa286b0badb10ddbbeb1fd965f57cad6
.
tests/test_requests.py
patch
|
blob
|
history
diff --git
a/tests/test_requests.py
b/tests/test_requests.py
index
e88c636
..
ac8329e
100755
(executable)
--- a/
tests/test_requests.py
+++ b/
tests/test_requests.py
@@
-183,13
+183,6
@@
class RequestsTestSuite(TestSetup, unittest.TestCase):
# response = get(url)
# self.assertEqual(response.url, httpbin('get/?' + query_unreserved))
- # We should ignore invalid %encodings
- request = requests.Request("http://0.0.0.0/get/%TEST")
- self.assertEqual(request.path_url, "/get/%TEST")
-
- request = requests.Request("http://0.0.0.0/get/%%TEST%%")
- self.assertEqual(request.path_url, "/get/%%TEST%%")
-
def test_user_agent_transfers(self):
"""Issue XX"""