]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Fix flake8 issue
authorNick DiRienzo <nicholas.dirienzo@optimizely.com>
Tue, 21 Jun 2016 13:54:05 +0000 (06:54 -0700)
committerNick DiRienzo <nicholas.dirienzo@optimizely.com>
Tue, 21 Jun 2016 13:54:05 +0000 (06:54 -0700)
tests/integration/test_stubs.py

index 92ce0f244de8c0c63e0a35f302a6f21bbf891110..b72aa631db0a7da789c97acbf0d8e3557e846c4e 100644 (file)
@@ -68,7 +68,7 @@ def test_original_decoded_response_is_not_modified(tmpdir, httpbin):
 
     # Even though the above are raw bytes, the JSON data should have been
     # decoded and saved to the cassette.
-    with vcr.use_cassette(testfile) as cass:
+    with vcr.use_cassette(testfile):
         inside2 = urlopen(request)
         assert 'content-encoding' not in inside2.headers
         assert_is_json(inside2.read())