MCPcopy
hub / github.com/pytest-dev/pytest / test_deduplicate_names

Function test_deduplicate_names

testing/python/fixtures.py:5155–5159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5153
5154
5155def test_deduplicate_names() -> None:
5156 items = deduplicate_names("abacd")
5157 assert items == ("a", "b", "c", "d")
5158 items = deduplicate_names((*items, "g", "f", "g", "e", "b"))
5159 assert items == ("a", "b", "c", "d", "g", "f", "e")
5160
5161
5162def test_staticmethod_classmethod_fixture_instance(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 1

deduplicate_namesFunction · 0.90

Tested by

no test coverage detected