(self)
| 2183 | self.assertIs(f("42"), None) |
| 2184 | |
| 2185 | def test_patma_205(self): |
| 2186 | def f(w): |
| 2187 | match w: |
| 2188 | case 42.0: |
| 2189 | out = locals() |
| 2190 | del out["w"] |
| 2191 | return out |
| 2192 | self.assertEqual(f(42.0), {}) |
| 2193 | self.assertEqual(f(42), {}) |
| 2194 | self.assertIs(f(0.0), None) |
| 2195 | self.assertIs(f(0), None) |
| 2196 | |
| 2197 | def test_patma_206(self): |
| 2198 | def f(w): |
nothing calls this directly
no test coverage detected