]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
remove unused cassette in with statement
authorKevin McCarthy <me@kevinmccarthy.org>
Fri, 23 Aug 2013 04:38:25 +0000 (18:38 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Fri, 23 Aug 2013 05:18:58 +0000 (19:18 -1000)
tests/integration/test_config.py

index 11f1bede79e370e9926c7a3af39eec709c0ba36c..bb7cca42413d6ff69fc8ec3d10b8e6c273ca1d94 100644 (file)
@@ -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')