Remove a wayward change.
authorCory Benfield <lukasaoz@gmail.com>
Thu, 16 Feb 2012 19:32:20 +0000 (19:32 +0000)
committerCory Benfield <lukasaoz@gmail.com>
Thu, 16 Feb 2012 19:32:20 +0000 (19:32 +0000)
tests/test_requests.py

index 14e7657..de89f68 100755 (executable)
@@ -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')