]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
rm unused imports
authoraisch <me+bosch@aitmp.com>
Mon, 23 Mar 2015 20:56:48 +0000 (13:56 -0700)
committeraisch <me+bosch@aitmp.com>
Mon, 23 Mar 2015 20:56:48 +0000 (13:56 -0700)
tests/integration/test_requests.py
tests/integration/test_urllib2.py
tests/integration/test_urllib3.py

index 9f6484fddb9e5af506fea5a35fc1a35e1ae810a4..67c4b32cff66aefa274806aa008c0f56e492c38d 100644 (file)
@@ -2,14 +2,9 @@
 
 # coding=utf-8
 
-import os
 import pytest
 import vcr
-from assertions import (
-    assert_cassette_empty,
-    assert_cassette_has_one_response,
-    assert_is_json
-)
+from assertions import assert_cassette_empty, assert_is_json
 requests = pytest.importorskip("requests")
 
 
index cd97e9e630fca390cd4f220913f5289cfc8b1e70..e31c174d83c24572cf5d376e650e027f94eac5d9 100644 (file)
@@ -1,9 +1,6 @@
 '''Integration tests with urllib2'''
 # coding=utf-8
 
-# External imports
-import os
-
 import pytest
 from six.moves.urllib.request import urlopen
 from six.moves.urllib_parse import urlencode
@@ -11,7 +8,7 @@ from six.moves.urllib_parse import urlencode
 # Internal imports
 import vcr
 
-from assertions import assert_cassette_empty, assert_cassette_has_one_response
+from assertions import assert_cassette_has_one_response
 
 
 @pytest.fixture(params=["https", "http"])
index 704199b4ac2849c4c71fb05cffba0b03b8ff5eb4..694416f7f0da6eab249029a6f695b0ddd52ece47 100644 (file)
@@ -4,10 +4,7 @@
 
 import pytest
 import vcr
-from assertions import (
-    assert_cassette_empty,
-    assert_is_json
-)
+from assertions import assert_cassette_empty, assert_is_json
 certifi = pytest.importorskip("certifi")
 urllib3 = pytest.importorskip("urllib3")