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

Function test_inverse

tests/tests/test_patterns.py:91–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def test_inverse():
92 pattern = ~some.object.equal_to(2)
93 log_repr(pattern)
94
95 assert pattern == 1
96 assert pattern != 2
97 assert pattern == 3
98 assert pattern == "2"
99 assert pattern == NONE
100
101
102def test_either():

Callers

nothing calls this directly

Calls 2

log_reprFunction · 0.85
equal_toMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…