MCPcopy Index your code
hub / github.com/python/cpython / test_patma_221

Method test_patma_221

Lib/test/test_patma.py:2347–2352  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2345 self.assertEqual(set(f()), {"x", "y"})
2346
2347 def test_patma_221(self):
2348 def f():
2349 match ...:
2350 case b as a:
2351 return locals()
2352 self.assertEqual(set(f()), {"a", "b"})
2353
2354 def test_patma_222(self):
2355 def f(x):

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
fFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected