Index: httpretty-1.1.4/tests/functional/test_requests.py =================================================================== --- httpretty-1.1.4.orig/tests/functional/test_requests.py +++ httpretty-1.1.4/tests/functional/test_requests.py @@ -946,4 +946,4 @@ def test_httpretty_should_handle_paths_s response = requests.get('http://example.com//foo') expect(response.text).to.equal('Find the best foo') expect(HTTPretty.last_request.method).to.equal('GET') - expect(HTTPretty.last_request.path).to.equal('//foo') + expect(HTTPretty.last_request.path).to.be.within(['//foo', '/foo'])