From 8930c97ff777525f1d1e7f582f9ffa7064466214 Mon Sep 17 00:00:00 2001 From: aisch Date: Mon, 23 Mar 2015 13:56:48 -0700 Subject: [PATCH] rm unused imports --- tests/integration/test_requests.py | 7 +------ tests/integration/test_urllib2.py | 5 +---- tests/integration/test_urllib3.py | 5 +---- 3 files changed, 3 insertions(+), 14 deletions(-) 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")