MCPcopy Create free account
hub / github.com/python/cpython / test_patma_219

Method test_patma_219

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

Source from the content-addressed store, hash-verified

2331 self.assertEqual(set(f()), {"a", "b"})
2332
2333 def test_patma_219(self):
2334 def f():
2335 match {"k": ..., "l": ...}:
2336 case {"k": a, "l": b}:
2337 return locals()
2338 self.assertEqual(set(f()), {"a", "b"})
2339
2340 def test_patma_220(self):
2341 def f():

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
fFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected