Backport of r1919334 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1919335 13f79535-47bb-0310-9956-
ffa450edef68
import os
import pytest
-from .env import H2Conf
+from .env import H2Conf, H2TestEnv
def setup_data(env):
# The trailer tests depend on "nghttp" as no other client seems to be able to send those
# rare things.
+@pytest.mark.skipif(condition=H2TestEnv.is_unsupported, reason="mod_http2 not supported here")
class TestTrailers:
@pytest.fixture(autouse=True, scope='class')
from typing import List, Optional
from pyhttpd.env import HttpdTestEnv
-from .env import H2Conf
+from .env import H2Conf, H2TestEnv
+@pytest.mark.skipif(condition=H2TestEnv.is_unsupported, reason="mod_http2 not supported here")
class TestRfc9113:
@pytest.fixture(autouse=True, scope='class')