From: aisch Date: Mon, 23 Mar 2015 20:56:48 +0000 (-0700) Subject: rm unused imports X-Git-Tag: v1.3.0~5^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8930c97ff777525f1d1e7f582f9ffa7064466214;p=vcrpy.git rm unused imports --- diff --git a/tests/integration/test_requests.py b/tests/integration/test_requests.py index 9f6484f..67c4b32 100644 --- a/tests/integration/test_requests.py +++ b/tests/integration/test_requests.py @@ -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") diff --git a/tests/integration/test_urllib2.py b/tests/integration/test_urllib2.py index cd97e9e..e31c174 100644 --- a/tests/integration/test_urllib2.py +++ b/tests/integration/test_urllib2.py @@ -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"]) diff --git a/tests/integration/test_urllib3.py b/tests/integration/test_urllib3.py index 704199b..694416f 100644 --- a/tests/integration/test_urllib3.py +++ b/tests/integration/test_urllib3.py @@ -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")