Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/debugpy
/ test_none
Function
test_none
tests/tests/test_patterns.py:68–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
67
68
def
test_none():
69
assert NONE == some.object
70
assert NONE == some.object.equal_to(None)
71
assert NONE == some.object.same_as(None)
72
assert NONE != some.thing
73
assert NONE == some.thing | None
74
75
76
def
test_equal():
Callers
nothing calls this directly
Calls
2
equal_to
Method · 0.80
same_as
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…