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

Method test_patma_209

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

fFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected