Revert "Add failing tests for invalid %encodings"
authorKenneth Reitz <me@kennethreitz.com>
Mon, 23 Apr 2012 02:26:07 +0000 (22:26 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Mon, 23 Apr 2012 02:26:07 +0000 (22:26 -0400)
This reverts commit e28c1c9bfa286b0badb10ddbbeb1fd965f57cad6.

tests/test_requests.py

index e88c636..ac8329e 100755 (executable)
@@ -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"""