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

Function test_starting_with

tests/tests/test_patterns.py:145–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143
144
145def test_starting_with():
146 pattern = some.str.starting_with("aa")
147 log_repr(pattern)
148 assert pattern == "aabbbb"
149 assert pattern != "bbbbaa"
150 assert pattern != "bbaabb"
151 assert pattern != "ababab"
152
153 pattern = some.bytes.starting_with(b"aa")
154 log_repr(pattern)
155 assert pattern == b"aabbbb"
156 assert pattern != b"bbbbaa"
157 assert pattern != b"bbaabb"
158 assert pattern != b"ababab"
159
160
161def test_ending_with():

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…