26d489
diff --git a/tests/conftest.py b/tests/conftest.py
26d489
index cd64a76..1d5ddbb 100644
26d489
--- a/tests/conftest.py
26d489
+++ b/tests/conftest.py
26d489
@@ -14,11 +14,23 @@ def prepare_url(value):
26d489
     return inner
26d489
 
26d489
 
26d489
-@pytest.fixture
26d489
-def httpbin(httpbin):
26d489
-    return prepare_url(httpbin)
26d489
+import sys
26d489
 
26d489
+if sys.version_info[0] < 3:
26d489
+    @pytest.fixture
26d489
+    def httpbin():
26d489
+        pytest.skip('No httpbin for Python 2')
26d489
 
26d489
-@pytest.fixture
26d489
-def httpbin_secure(httpbin_secure):
26d489
-    return prepare_url(httpbin_secure)
26d489
+    @pytest.fixture
26d489
+    def httpbin_secure():
26d489
+        pytest.skip('No httpbin for Python 2')
26d489
+
26d489
+else:
26d489
+    @pytest.fixture
26d489
+    def httpbin(httpbin):
26d489
+        return prepare_url(httpbin)
26d489
+
26d489
+
26d489
+    @pytest.fixture
26d489
+    def httpbin_secure(httpbin_secure):
26d489
+        return prepare_url(httpbin_secure)