Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test_patma_004
Method
test_patma_004
Lib/test/test_patma.py:165–170 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
163
self.assertIs(x, True)
164
165
def
test_patma_004(self):
166
x = False
167
match 1:
168
case 0 | 1 | 2 | 3:
169
x = True
170
self.assertIs(x, True)
171
172
def
test_patma_005(self):
173
x = False
Callers
nothing calls this directly
Calls
1
assertIs
Method · 0.45
Tested by
no test coverage detected