MCPcopy Create free account
hub / github.com/microsoft/debugpy / test_either

Function test_either

tests/tests/test_patterns.py:102–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102def test_either():
103 pattern = some.number | some.str
104 log_repr(pattern)
105 assert pattern == 123
106
107 pattern = some.str | 123 | some.bool
108 log_repr(pattern)
109 assert pattern == 123
110
111
112def test_in_range():

Callers

nothing calls this directly

Calls 1

log_reprFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…