(self)
| 2225 | self.assertEqual(f([1, 2.0]), {}) |
| 2226 | |
| 2227 | def test_patma_208(self): |
| 2228 | def f(w): |
| 2229 | match w: |
| 2230 | case x: |
| 2231 | out = locals() |
| 2232 | del out["w"] |
| 2233 | return out |
| 2234 | self.assertEqual(f(42), {"x": 42}) |
| 2235 | self.assertEqual(f((1, 2)), {"x": (1, 2)}) |
| 2236 | self.assertEqual(f(None), {"x": None}) |
| 2237 | |
| 2238 | def test_patma_209(self): |
| 2239 | def f(w): |
nothing calls this directly
no test coverage detected