fix failing test "test_prepare_unicode_url" \(take 3\)
authorScott Sadler <github@mashi.org>
Sun, 26 Oct 2014 13:45:12 +0000 (14:45 +0100)
committerScott Sadler <github@mashi.org>
Sun, 26 Oct 2014 13:45:12 +0000 (14:45 +0100)
test_requests.py

index 0d93893b9df9f6458431d72edf6b515e728df563..467c5bc68eb6aa9d533713cbb37cfd914a13a545 100755 (executable)
@@ -1511,7 +1511,8 @@ def test_prepare_unicode_url():
     p = PreparedRequest()
     p.prepare(
         method='GET',
-        url=u('http://www.example.com/üniçø∂é')
+        url=u('http://www.example.com/üniçø∂é'),
+        hooks=[]
     )
     assert_copy(p, p.copy())