From: Cory Benfield Date: Thu, 16 Feb 2012 19:32:20 +0000 (+0000) Subject: Remove a wayward change. X-Git-Tag: v0.10.3~14^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ded0ad3d55a100234f0f06e37315bd65664e8f5;p=services%2Fpython-requests.git Remove a wayward change. --- diff --git a/tests/test_requests.py b/tests/test_requests.py index 14e7657..de89f68 100755 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -23,7 +23,8 @@ from requests.auth import HTTPBasicAuth, HTTPDigestAuth -os.environ['HTTPBIN_URL'] = 'http://httpbin.org/' +if (sys.platform == 'win32') and ('HTTPBIN_URL' not in os.environ): + os.environ['HTTPBIN_URL'] = 'http://httpbin.org/' # TODO: Detect an open port. PORT = os.environ.get('HTTPBIN_PORT', '7077')