MCPcopy Create free account
hub / github.com/conda/constructor / test_check_duplicates

Function test_check_duplicates

tests/test_fcp.py:29–36  ·  view source on GitHub ↗
(values: tuple[..., GenericObject], expected_fails: int)

Source from the content-addressed store, hash-verified

27 ),
28)
29def test_check_duplicates(values: tuple[..., GenericObject], expected_fails: int):
30 if expected_fails:
31 context = pytest.raises(SystemExit)
32 else:
33 context = nullcontext()
34
35 with context:
36 check_duplicates(values)
37
38
39@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

check_duplicatesFunction · 0.90

Tested by

no test coverage detected