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

Method test_patma_209

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

Source from the content-addressed store, hash-verified

2235 self.assertEqual(f(None), {"x": None})
2236
2237 def test_patma_209(self):
2238 def f(w):
2239 match w:
2240 case _:
2241 out = locals()
2242 del out["w"]
2243 return out
2244 self.assertEqual(f(42), {})
2245 self.assertEqual(f(None), {})
2246 self.assertEqual(f((1, 2)), {})
2247
2248 def test_patma_210(self):
2249 def f(w):

Callers

nothing calls this directly

Calls 2

fFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected