(self)
| 247 | ) |
| 248 | |
| 249 | def test_position(self): |
| 250 | args = (1, 2, "old", 3) |
| 251 | kwargs = dict() # type: Dict[str, Any] |
| 252 | self.assertEqual(self.replacer.get_old_value(args, kwargs), "old") |
| 253 | self.assertEqual( |
| 254 | self.replacer.replace("new", args, kwargs), |
| 255 | ("old", [1, 2, "new", 3], dict()), |
| 256 | ) |
| 257 | |
| 258 | def test_keyword(self): |
| 259 | args = (1,) |
nothing calls this directly
no test coverage detected