diff --git a/tests/conftest.py b/tests/conftest.py
index 099462c..a7e1cca 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -26,15 +26,26 @@ def prepare_url(value):
     return inner


-@pytest.fixture
-def httpbin(httpbin):
-    return prepare_url(httpbin)
-
-
-@pytest.fixture
-def httpbin_secure(httpbin_secure):
-    return prepare_url(httpbin_secure)
-
+import sys
+
+if sys.version_info[0] < 3:
+    @pytest.fixture
+    def httpbin():
+        pytest.skip('No httpbin for Python 2')
+
+    @pytest.fixture
+    def httpbin_secure():
+        pytest.skip('No httpbin for Python 2')
+
+else:
+    @pytest.fixture
+    def httpbin(httpbin):
+        return prepare_url(httpbin)
+
+
+    @pytest.fixture
+    def httpbin_secure(httpbin_secure):
+        return prepare_url(httpbin_secure)

 @pytest.fixture
 def nosan_server(tmp_path_factory):
--
2.27.0