MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_patma_221

Method test_patma_221

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

Source from the content-addressed store, hash-verified

2347 self.assertEqual(set(f()), {"x", "y"})
2348
2349 def test_patma_221(self):
2350 def f():
2351 match ...:
2352 case b as a:
2353 return locals()
2354 self.assertEqual(set(f()), {"a", "b"})
2355
2356 def test_patma_222(self):
2357 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