MCPcopy
hub / github.com/psycopg/psycopg / pytest_runtest_setup

Function pytest_runtest_setup

tests/fix_db.py:69–74  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

67
68
69def pytest_runtest_setup(item):
70 # Note: not using Capabilities.has_pipeline() to allow running the tests
71 # with Psycopg 3.1.
72 if not psycopg.Pipeline.is_supported():
73 for m in item.iter_markers(name="pipeline"):
74 pytest.skip("pipeline mode not supported")
75
76
77def pytest_configure(config):

Callers

nothing calls this directly

Calls 1

is_supportedMethod · 0.80

Tested by

no test coverage detected