MCPcopy Create free account
hub / github.com/python-hyper/uritemplate / expected_set

Function expected_set

tests/test_from_fixtures.py:33–36  ·  view source on GitHub ↗
(expected: t.Union[t.List[str], str])

Source from the content-addressed store, hash-verified

31
32
33def expected_set(expected: t.Union[t.List[str], str]) -> t.Set[str]:
34 if isinstance(expected, list):
35 return set(expected)
36 return {expected}
37
38
39class FixtureMixin:

Callers 1

_testMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…