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

Function test_recursive

tests/tests/test_patterns.py:243–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241
242
243def test_recursive():
244 pattern = some.dict.containing(
245 {
246 "dict": some.dict.containing({"int": some.int.in_range(100, 200)}),
247 "list": [None, ~some.error, some.number | some.str],
248 }
249 )
250
251 log_repr(pattern)
252
253 assert pattern == {
254 "list": [None, False, 123],
255 "bool": True,
256 "dict": {"int": 123, "str": "abc"},
257 }

Callers

nothing calls this directly

Calls 2

log_reprFunction · 0.85
in_rangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…