From 726478096038ef16d2f32e215c0bd5c8ec482b20 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Thu, 22 Aug 2013 18:38:25 -1000 Subject: [PATCH] remove unused cassette in with statement --- tests/integration/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_config.py b/tests/integration/test_config.py index 11f1bed..bb7cca4 100644 --- a/tests/integration/test_config.py +++ b/tests/integration/test_config.py @@ -6,7 +6,7 @@ import vcr def test_set_serializer_default_config(tmpdir): my_vcr = vcr.VCR(serializer='json') - with my_vcr.use_cassette(str(tmpdir.join('test.json'))) as cass: + with my_vcr.use_cassette(str(tmpdir.join('test.json'))): assert my_vcr.serializer == 'json' urllib2.urlopen('http://httpbin.org/get')