MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / pytest_runtest_setup

Function pytest_runtest_setup

python/test/conftest.py:34–40  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

32
33# Add 'skip_in_parallel' skip
34def pytest_runtest_setup(item):
35 marker = item.get_closest_marker("skip_in_parallel")
36 if marker and MPI.COMM_WORLD.size > 1:
37 pytest.skip("This test should be run in serial only.")
38 marker = item.get_closest_marker("xfail_win32_complex")
39 if marker and sys.platform.startswith("win32"):
40 pytest.xfail("missing _Complex")
41
42
43@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected