def test_session_and_connection_close(tmpdir, scheme):
    with vcr.use_cassette(str(tmpdir.join('session_connection_closed.yaml'))):
        session = requests.session()

        session.get('http://httpbin.org/get', headers={'Connection': 'close'})
        session.get('http://httpbin.org/get', headers={'Connection': 'close'})
This tests the issue in https://github.com/kevin1024/vcrpy/issues/48
dataset/ETHPy150Open kevin1024/vcrpy/tests/integration/test_requests.py/test_session_and_connection_close