MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / skip_distributed

Function skip_distributed

imperative/python/test/conftest.py:33–40  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

31
32@pytest.fixture(autouse=True)
33def skip_distributed(request):
34 if request.node.get_closest_marker("distributed_isolated"):
35 if platform.system() in ("Windows", "Darwin"):
36 pytest.skip(
37 "skipped for distributed unsupported at platform: {}".format(
38 platform.system()
39 )
40 )
41
42
43@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 2

skipMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected