diff --git a/test_requests.py b/test_requests.py index c3f3395d..f23aa071 100755 --- a/test_requests.py +++ b/test_requests.py @@ -9,7 +9,7 @@ import cookielib try: import omnijson as json except ImportError: - import simplejson as json + import json import requests @@ -326,7 +326,7 @@ class RequestsTestSuite(unittest.TestCase): def test_idna(self): r = requests.get(u'http://➡.ws/httpbin') - self.assertEqual(r.url, HTTPBIN_URL) + assert 'tinyarrows.com' in r.url if __name__ == '__main__':