Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ test_patma_001
Method
test_patma_001
Lib/test/test_patma.py:141–147 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
139
self.assertIs(x, True)
140
141
def
test_patma_001(self):
142
match 0:
143
case 0
if
False:
144
x = False
145
case 0
if
True:
146
x = True
147
self.assertIs(x, True)
148
149
def
test_patma_002(self):
150
match 0:
Callers
nothing calls this directly
Calls
1
assertIs
Method · 0.45
Tested by
no test coverage detected