1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

rm unused imports

This commit is contained in:
aisch
2015-03-23 13:56:48 -07:00
parent e6b43a0374
commit 8930c97ff7
3 changed files with 3 additions and 14 deletions

View File

@@ -2,14 +2,9 @@
# coding=utf-8 # coding=utf-8
import os
import pytest import pytest
import vcr import vcr
from assertions import ( from assertions import assert_cassette_empty, assert_is_json
assert_cassette_empty,
assert_cassette_has_one_response,
assert_is_json
)
requests = pytest.importorskip("requests") requests = pytest.importorskip("requests")

View File

@@ -1,9 +1,6 @@
'''Integration tests with urllib2''' '''Integration tests with urllib2'''
# coding=utf-8 # coding=utf-8
# External imports
import os
import pytest import pytest
from six.moves.urllib.request import urlopen from six.moves.urllib.request import urlopen
from six.moves.urllib_parse import urlencode from six.moves.urllib_parse import urlencode
@@ -11,7 +8,7 @@ from six.moves.urllib_parse import urlencode
# Internal imports # Internal imports
import vcr 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"]) @pytest.fixture(params=["https", "http"])

View File

@@ -4,10 +4,7 @@
import pytest import pytest
import vcr import vcr
from assertions import ( from assertions import assert_cassette_empty, assert_is_json
assert_cassette_empty,
assert_is_json
)
certifi = pytest.importorskip("certifi") certifi = pytest.importorskip("certifi")
urllib3 = pytest.importorskip("urllib3") urllib3 = pytest.importorskip("urllib3")