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

Function test_such_that

tests/tests/test_patterns.py:228–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226
227
228def test_such_that():
229 pattern = some.thing.such_that(lambda x: x != 1)
230 log_repr(pattern)
231
232 assert 0 == pattern
233 assert 1 != pattern
234 assert 2 == pattern
235
236
237def test_error():

Callers

nothing calls this directly

Calls 2

log_reprFunction · 0.85
such_thatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…