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 14e765761e3b1249c8c59a02aa7e4dcb28ee8ac8..de89f68cdc176bbd829110b13a97c917c428b5b4 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')