(self)
| 2275 | self.assertIs(f(({"x": "x", "y": "y"})), None) |
| 2276 | |
| 2277 | def test_patma_212(self): |
| 2278 | def f(w): |
| 2279 | match w: |
| 2280 | case Point(int(xx), y="hello"): |
| 2281 | out = locals() |
| 2282 | del out["w"] |
| 2283 | return out |
| 2284 | self.assertEqual(f(Point(42, "hello")), {"xx": 42}) |
| 2285 | |
| 2286 | def test_patma_213(self): |
| 2287 | def f(w): |
nothing calls this directly
no test coverage detected