Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/debugpy
/ test_in_range
Function
test_in_range
tests/tests/test_patterns.py:112–118 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
110
111
112
def
test_in_range():
113
pattern = some.int.in_range(-5, 5)
114
log_repr(pattern)
115
116
assert all([pattern == x
for
x in range(-5, 5)])
117
assert pattern != -6
118
assert pattern != 5
119
120
121
def
test_str():
Callers
nothing calls this directly
Calls
3
log_repr
Function · 0.85
all
Function · 0.85
in_range
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…