(self)
| 3478 | |
| 3479 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 3480 | def test_only_default_wildcard(self): |
| 3481 | def f(command): # 0 |
| 3482 | match command.split(): # 1 |
| 3483 | case _: # 2 |
| 3484 | return "default" # 3 |
| 3485 | |
| 3486 | self.assertListEqual(self._trace(f, "go n"), [1, 2, 3]) |
| 3487 | self.assertListEqual(self._trace(f, "go x"), [1, 2, 3]) |
| 3488 | self.assertListEqual(self._trace(f, "spam"), [1, 2, 3]) |
| 3489 | |
| 3490 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 3491 | def test_only_default_capture(self): |
nothing calls this directly
no test coverage detected